summaryrefslogtreecommitdiff
path: root/Makefile
blob: 6a0cb38ef8997a777d33251a489afcbf3d96a56b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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

clean:
	$(RM)  man/*.man

.PHONY: clean docs all