summaryrefslogtreecommitdiff
path: root/docs/source/man/Makefile
diff options
context:
space:
mode:
authorElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-10-01 23:27:30 +0200
committerElena ``of Valhalla'' Grandi <valhalla@trueelena.org>2020-10-01 23:27:30 +0200
commite3e1aac99ff15ef99ac6d3fd8539492a2c4801be (patch)
tree58cb81587c68c02e54d90eb8d3851134c75c16ed /docs/source/man/Makefile
parent92fdc8343afaafea0e705078ed7f0933cf475715 (diff)
Start building manpages with sphinx
Diffstat (limited to 'docs/source/man/Makefile')
-rw-r--r--docs/source/man/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/docs/source/man/Makefile b/docs/source/man/Makefile
new file mode 100644
index 0000000..0369f59
--- /dev/null
+++ b/docs/source/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