diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2015-12-02 17:00:48 +0000 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2015-12-02 17:00:48 +0000 |
commit | 7a52e4ad8a8d7f75741d167e582b94c235fa6d3b (patch) | |
tree | e0f76d0497d61e249a3f23046dcfe10492544c0d /Makefile | |
parent | b2dfcbf7169bc14ca6d08cee10df23f220c5aca1 (diff) |
Added manpages
I've moved documentation out of README.md into the man/*.txt files to
convert to manpages.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..6a0cb38 --- /dev/null +++ b/Makefile @@ -0,0 +1,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 + |