[Po4a-devel] Polish man pages broken again in po4a 0.37

Neil Williams codehelp at debian.org
Mon Nov 23 15:57:49 UTC 2009


On Sun, 22 Nov 2009 23:37:52 +0100
Robert Luberda <robert at 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/

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/po4a-devel/attachments/20091123/818459ed/attachment.pgp>


More information about the Po4a-devel mailing list