Hello,
With Debian perl 5.20.2-6, it's required to set a name for manpages, or pod2man
will fail.
$ pod2man <genpyt.pod >genpyt.1
IO::File=IO(0x1bfe790) around line 1: No name given for document
POD document had syntax errors at /usr/bin/pod2man line 71.
It's better to do
$ pod2man genpyt.pod genpyt.1
Patch attached.
Regards,
Yixuan
diff --git a/man/SConscript b/man/SConscript
index f3ebd03..e1551eb 100644
--- a/man/SConscript
+++ b/man/SConscript
@@ -1,7 +1,7 @@
import os
Import('env')
-pod2man = Builder(action = 'pod2man < $SOURCE > $TARGET')
+pod2man = Builder(action = 'pod2man $SOURCE $TARGET')
env.Append(BUILDERS = {'Man': pod2man})
env.Man('mmseg.1', 'mmseg.pod')
Original issue reported on code.google.com by culu....@gmail.com on 5 Jul 2015 at 7:29
Original issue reported on code.google.com by
culu....@gmail.com
on 5 Jul 2015 at 7:29Attachments: