]> Sergey Matveev's repositories - public-inbox.git/blobdiff - Makefile.PL
doc: switch to man(1) for pod => (text|html)
[public-inbox.git] / Makefile.PL
index b7851adae152fe32bde3ac8658b8b9f6c2002dac..fffe30e93181e86cac02c0809c6dab3f8c78f1e5 100644 (file)
@@ -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" ];