How to convert manpage written in AsciiDoc lightweight markup language automatically into Perl's POD (Plain Old Documentation)?
Perhaps something that converts from DocBook to POD (the conversion from AsciiDoc sources to manpage format i.e. troff goes via DocBook (via XML)).
You should be able to accomplish this using
a2x
andrman
, to first convert asciidoc to man page format, then to convert that to POD:The
groff
command is there to fix some formatting issues -- apparentlyrman
does not understand specific macros produced bya2x
(I found this piece of advice on this page: http://www.datastat.com/sysadminjournal/misctips.html).