From 0a7520b073b44051ddb56a46348e001940e70548 Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Sun, 17 Nov 2019 17:32:56 +0100 Subject: Add makefile for the manpages --- docs/man/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 docs/man/Makefile 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 -- cgit v1.2.3