[PATCH xrandr 2/3] Autotools: handle translated manpage #37612
Guillem Jover
guillem at hadrons.org
Fri Jun 3 04:15:47 PDT 2011
Hi!
On Thu, 2011-05-26 at 19:57:09 -0400, David Prévot wrote:
> I used a build process like the one used in man-db: translated manpages
> are handled in there own man/$lang/ directory. Since the manpage is
> modified during the build process, it needs its own Makefile, so I added
> it into the repository.
>
> Some parts might be simplified (e.g. since the Makefile in man/$lang/ is
> trivial, maybe could it be generated during the build process instead of
> being stored in VCS, translated manpages could also be built directly in
> the man/ directory).
You might want to take a look at how po4a is handled in dpkg, allowing
the user to select a subset of LINGUAS, disabling NLS, non-presence of
po4a, uses a flat hierarchy (which I find to be nicer) and mostly it
avoids code duplication and too many Makefiles. I'm still not entirely
happy with the Makefile.am, but it's gotten better, I guess ideally I'd
see the install/uninstall handled internally by po4a.
<http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=blob;f=m4/dpkg-progs.m4;hb=HEAD#l17>
<http://anonscm.debian.org/gitweb/?p=dpkg/dpkg.git;a=tree;f=man;hb=HEAD>
regards,
guillem
More information about the xorg-devel
mailing list