about summary refs log tree commit homepage
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2016-08-31 19:50:52 +0000
committerEric Wong <e@80x24.org>2016-08-31 19:50:52 +0000
commit8f4448f6b8098235d54f48ea7e3b572caa82632d (patch)
tree3f9b57e25bbb552e27aa73215867351ded5ba3cd
parent50f05cb638a643c70d5a78eb9cc40bdcc890ce87 (diff)
downloadpublic-inbox-8f4448f6b8098235d54f48ea7e3b572caa82632d.tar.gz
This will be important as we will have more of them.
-rw-r--r--Documentation/include.mk5
1 files changed, 3 insertions, 2 deletions
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)