Use --stderr to output pod2man problems at build time, rather
than embed them into a "POD ERRORS" section in the produced manpages
(see ExtUtils::Installed(3p) for an example of how it looks without
this).
OK?
Index: Makefile.bsd-wrapper1
===================================================================
RCS file: /cvs/src/gnu/usr.bin/perl/Makefile.bsd-wrapper1,v
retrieving revision 1.15
diff -u -p -r1.15 Makefile.bsd-wrapper1
--- Makefile.bsd-wrapper1 30 Mar 2013 11:48:20 -0000 1.15
+++ Makefile.bsd-wrapper1 30 Mar 2013 11:52:24 -0000
@@ -803,13 +803,13 @@ MANSRC_COOKIE=
. endif
${page}.${sect}: ${file}
- ${POD2MAN} --section=${sect} --official ${.ALLSRC} $@
+ ${POD2MAN} --stderr --section=${sect} --official ${.ALLSRC} $@
.endfor
mansrc.build:
.for sect in 1 3p
. if !empty(_quick${sect})
- cd ${.OBJDIR} && ${POD2MAN} --section=${sect} --official
${_quick${sect}}
+ cd ${.OBJDIR} && ${POD2MAN} --stderr --section=${sect} --official
${_quick${sect}}
. endif
.endfor