On Sun, 22 Nov 2009 23:37:52 +0100
Robert Luberda <robert(a)debian.org> wrote:
>>
_build::pod::3::pUseriC_build::pod::3::pl::lib::Locale::Po4a::Man
>> (3)
>
And po4a-build calls pod2man like this:
pod2man lib/Locale/Po4a/Text.pm
_build/po4a/man/man3/Locale::Po4a::Text.3
Possibly changing pl to perl would be sufficient. OTOH you know the
name of the man page, why can't you use it and call e.g.:
pod2man -s 3 --name Locale::Po4a::Text other_args
Indeed. po4a-build does have that name.
Changed to:
pod2man -n $name -s 3 $BASEDIR/pod/3/$l/$file \
$BASEDIR/$POD/man/$l/man3/$name.3
$l == language code, like 'pl'.
Gives:
pod2man -n Locale::Po4a::Wml -s 3 \
_build/pod/3/pl/lib/Locale/Po4a/Wml.pm \
_build/po4a/man/pl/man3/Locale::Po4a::Wml.3
Gives a manpage containing, e.g.:
Locale::Po4a::BibTeX(3) User Contributed Perl Documentation
Locale::Po4a::BibTeX(3)
This is only needed for man (3).
--
Neil Williams
=============
http://www.data-freedom.org/
http://www.linux.codehelp.co.uk/
http://e-mail.is-not-s.ms/