summaryrefslogtreecommitdiff
path: root/Makefile
blob: 5ea56450aaa6a5e82fc174c5ebec9dd2cba18efa (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/tc_*.rb

clean:
	$(RM)  man/*.man

.PHONY: clean docs all test