summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
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
+