about summary refs log tree commit homepage
path: root/Documentation/include.mk
diff options
context:
space:
mode:
authorEric Wong <e@80x24.org>2021-11-03 21:01:22 +0000
committerEric Wong <e@80x24.org>2021-11-04 03:29:34 +0000
commit7249c2ac6493849739ea7c1ad5265cff421e2869 (patch)
tree7ab3e6045525a55ffb4ef31415cabe941e1e7cfa /Documentation/include.mk
parent0b73ad048e715065efc3ed3eb1c376e945957693 (diff)
downloadpublic-inbox-7249c2ac6493849739ea7c1ad5265cff421e2869.tar.gz
doc: switch to man(1) for pod => (text|html)
pod2text(1) will wrap long .onion URLs and cause resulting HTML
to be linkified improperly.
Diffstat (limited to 'Documentation/include.mk')
-rw-r--r--Documentation/include.mk8
1 files changed, 2 insertions, 6 deletions
diff --git a/Documentation/include.mk b/Documentation/include.mk
index af5f7f24..bfbc495f 100644
--- a/Documentation/include.mk
+++ b/Documentation/include.mk
@@ -14,17 +14,13 @@ XMLSTARLET = xmlstarlet
 # libgraph-easy-perl from Debian, Graph::Easy from CPAN
 GRAPH_EASY = graph-easy
 
-# same as pod2text
-COLUMNS = 76
-
 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
-podtext = $(PODTEXT) $(PODTEXT_OPTS)
+
+man2text = COLUMNS=80 MANWIDTH=80 TERM=dumb MANOPT='--nj --nh' man
 
 all:: man