* [PATCH 0/4] preliminary doc updates
@ 2016-08-21 11:47 6% Eric Wong
2016-08-21 11:47 7% ` [PATCH 4/4] doc: avoid conflicting with MakeMaker variable names Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2016-08-21 11:47 UTC (permalink / raw)
To: meta
Actual documentation is coming...
Eric Wong (4):
README: add link to source code mirrors
doc: mda: remove vestigial pandoc comment
avoid spaces after shell redirection operators
doc: avoid conflicting with MakeMaker variable names
Documentation/include.mk | 20 ++++++++++----------
Documentation/public-inbox-mda.pod | 4 +---
README | 3 +++
scripts/dc-dlvr | 4 ++--
scripts/dc-dlvr.pre | 6 +++---
scripts/report-spam | 8 ++++----
6 files changed, 23 insertions(+), 22 deletions(-)
^ permalink raw reply [relevance 6%]
* [PATCH 4/4] doc: avoid conflicting with MakeMaker variable names
2016-08-21 11:47 6% [PATCH 0/4] preliminary doc updates Eric Wong
@ 2016-08-21 11:47 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2016-08-21 11:47 UTC (permalink / raw)
To: meta
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
^ permalink raw reply related [relevance 7%]
Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-08-21 11:47 6% [PATCH 0/4] preliminary doc updates Eric Wong
2016-08-21 11:47 7% ` [PATCH 4/4] doc: avoid conflicting with MakeMaker variable names Eric Wong
Code repositories for project(s) associated with this public inbox
https://80x24.org/public-inbox.git
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).