From: Eric Wong <e@80x24.org>
To: meta@public-inbox.org
Subject: [PATCH 4/4] doc: avoid conflicting with MakeMaker variable names
Date: Sun, 21 Aug 2016 11:47:08 +0000 [thread overview]
Message-ID: <20160821114708.27408-5-e@80x24.org> (raw)
In-Reply-To: <20160821114708.27408-1-e@80x24.org>
We want the pod2man(1) executable for handling certain
options. Also, use the correct year while we're at it :P
---
Documentation/include.mk | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/Documentation/include.mk b/Documentation/include.mk
index bd9df8c..5d73028 100644
--- a/Documentation/include.mk
+++ b/Documentation/include.mk
@@ -7,12 +7,12 @@ RSYNC_DEST = public-inbox.org:/srv/public-inbox/
docs := README COPYING INSTALL TODO HACKING
docs += $(shell git ls-files 'Documentation/*.txt')
INSTALL = install
-POD2MAN ?= pod2man
-POD2MAN_OPTS = -v --stderr -d 1994-10-02 -c 'public-inbox user manual'
-pod2man = $(POD2MAN) $(POD2MAN_OPTS)
-POD2TEXT = pod2text
-POD2TEXT_OPTS = --stderr
-pod2text = $(POD2TEXT) $(POD2TEXT_OPTS)
+PODMAN = pod2man
+PODMAN_OPTS = -v --stderr -d 1993-10-02 -c 'public-inbox user manual'
+podman = $(PODMAN) $(PODMAN_OPTS)
+PODTEXT = pod2text
+PODTEXT_OPTS = --stderr
+podtext = $(PODTEXT) $(PODTEXT_OPTS)
m1 =
m1 += public-inbox-mda
@@ -42,7 +42,7 @@ install-man: man
test -z "$(man7)" || $(INSTALL) -m 644 $(man7) $(DESTDIR)$(man7dir)
%.1 : Documentation/%.pod
- $(pod2man) -s 1 $< $@+ && mv $@+ $@
+ $(podman) -s 1 $< $@+ && mv $@+ $@
mantxt = $(addprefix Documentation/, $(addsuffix .txt, $(m1)))
docs += $(mantxt)
@@ -50,7 +50,7 @@ docs += $(mantxt)
all :: $(mantxt)
Documentation/%.txt : Documentation/%.pod
- $(pod2text) $< $@+ && mv $@+ $@
+ $(podtext) $< $@+ && mv $@+ $@
txt2pre = ./Documentation/txt2pre <$< >$@+ && touch -r $< $@+ && mv $@+ $@
txt := INSTALL README COPYING TODO
--
EW
prev parent reply other threads:[~2016-08-21 11:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-21 11:47 [PATCH 0/4] preliminary doc updates Eric Wong
2016-08-21 11:47 ` [PATCH 1/4] README: add link to source code mirrors Eric Wong
2016-08-21 11:47 ` [PATCH 2/4] doc: mda: remove vestigial pandoc comment Eric Wong
2016-08-21 11:47 ` [PATCH 3/4] avoid spaces after shell redirection operators Eric Wong
2016-08-21 11:47 ` Eric Wong [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://public-inbox.org/README
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160821114708.27408-5-e@80x24.org \
--to=e@80x24.org \
--cc=meta@public-inbox.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).