about summary refs log tree commit homepage
path: root/Makefile.PL
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 /Makefile.PL
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 'Makefile.PL')
-rw-r--r--Makefile.PL2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.PL b/Makefile.PL
index b7851ada..fffe30e9 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -72,7 +72,7 @@ for my $i (@sections) {
                 my $pod = "Documentation/$m.pod";
                 my $txt = "Documentation/$m.txt";
                 $t->{"$m.$i : $pod"} = [ "\$(podman) -s$i $pod \$@" ];
-                $t->{"$txt : $pod"} = [ "\$(podtext) $pod \$\@+",
+                $t->{"$txt : $m.$i"} = [ "\$(man2text) ./$m.$i >\$\@+",
                                         "touch -r $pod \$\@+",
                                         "mv \$\@+ \$@" ];
                 $t->{"Documentation/$m.html : $txt"} = [ "\$(txt2pre) <$txt" ];