From 8f4448f6b8098235d54f48ea7e3b572caa82632d Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 31 Aug 2016 19:50:52 +0000 Subject: doc: set release and section properly for manpages This will be important as we will have more of them. --- Documentation/include.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Documentation/include.mk') diff --git a/Documentation/include.mk b/Documentation/include.mk index 4583f951..9d2c3b09 100644 --- a/Documentation/include.mk +++ b/Documentation/include.mk @@ -9,6 +9,7 @@ docs += $(shell git ls-files 'Documentation/*.txt') INSTALL = install PODMAN = pod2man PODMAN_OPTS = -v --stderr -d 1993-10-02 -c 'public-inbox user manual' +PODMAN_OPTS += -r public-inbox.git podman = $(PODMAN) $(PODMAN_OPTS) PODTEXT = pod2text PODTEXT_OPTS = --stderr @@ -41,8 +42,8 @@ install-man: man test -z "$(man5)" || $(INSTALL) -m 644 $(man5) $(DESTDIR)$(man5dir) test -z "$(man7)" || $(INSTALL) -m 644 $(man7) $(DESTDIR)$(man7dir) -%.1 : Documentation/%.pod - $(podman) -s 1 $< $@+ && mv $@+ $@ +%.1 %.5 %.7 %.8 : Documentation/%.pod + $(podman) -s $(subst .,,$(suffix $@)) $< $@+ && mv $@+ $@ mantxt = $(addprefix Documentation/, $(addsuffix .txt, $(m1))) docs += $(mantxt) -- cgit v1.2.3-24-ge0c7