aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-11-17 17:32:56 +0100
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2019-11-17 17:32:56 +0100
commit0a7520b073b44051ddb56a46348e001940e70548 (patch)
treec05954c3c018dc0f5de9f394a9a128e4cc36440b
parentfe07ee480ba5c21d131063d905560c61c24bfb4b (diff)
Add makefile for the manpages
-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