summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/man/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/man/Makefile b/docs/man/Makefile
new file mode 100644
index 0000000..0369f59
--- /dev/null
+++ b/docs/man/Makefile
@@ -0,0 +1,12 @@
+
+MAN_TARGETS = $(patsubst %.rst,%.1,$(wildcard *.rst))
+
+all: $(MAN_TARGETS)
+
+%.1: %.rst
+ rst2man $< > $@
+
+clean:
+ rm *.1
+
+.PHONY: all clean