From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: X-Spam-Status: No, score=-4.0 required=3.0 tests=ALL_TRUSTED,BAYES_00 shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from localhost (dcvr.yhbt.net [127.0.0.1]) by dcvr.yhbt.net (Postfix) with ESMTP id 0F6A5203EC for ; Thu, 1 Sep 2016 18:20:31 +0000 (UTC) From: Eric Wong To: meta@public-inbox.org Subject: [PATCH 3/3] doc: set release and section properly for manpages Date: Thu, 1 Sep 2016 18:20:27 +0000 Message-Id: <20160901182027.8285-4-e@80x24.org> In-Reply-To: <20160901182027.8285-1-e@80x24.org> References: <20160901182027.8285-1-e@80x24.org> List-Id: This will be important as we will have more of them. --- Documentation/include.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Documentation/include.mk b/Documentation/include.mk index 4583f95..9d2c3b0 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) -- EW