summaryrefslogtreecommitdiff
path: root/Makefile
blob: 4fe136dba43085d971ce5e3bb4f3d5e7322b63e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
all: docs

man/%.man: ./man/%.txt
	[ -d man ] || mkdir man
	txt2man -s 1 -t $(basename $(notdir $<)) $< | sed -e 's/\\\\fB/\\fB/' > $@

docs: man/byteback-prune.man man/byteback-restore.man man/byteback-backup.man

# To be written
# man/byteback-snapshot.man man/byteback-setup-client.man man/byteback-setup-client-receive.man man/byteback-receive.man

test:
	ruby test/ts_byteback.rb

clean:
	$(RM)  man/*.man

.PHONY: clean docs all test