[Pkg-shadow-devel] [PATCH] man pages: dont muck around with config.xml
nicolas.francois at centraliens.net
Mon Sep 7 22:01:14 UTC 2009
On Sun, Aug 30, 2009 at 10:30:19PM +0200, nicolas.francois at centraliens.net wrote:
> This is a limitation of xml2po.
> It needs to be called with --expand-all-entities, but this unfortunately
> expand the config.xml entity, which forbid to change the configuration in
> the translated manpages.
> Removing the config.xml file before the generation of the POT and
> translated xml files permits to reuse the same PO file for each configure
> This can probably be fixed by
> * moving the config.xml file
> * generating all the translated xml
> * moving back the config.xml file
> * generating all the manpages
> I will have a look, but this might be tricky because of automake.
This did not work.
I applied the attached patch, which should behave correctly (not really
tested either with make -j or not). I.e. it should allow to
* keep the variables in the POT and PO files
* build the manpages with the expanded entities.
* does not require screwing with config.xml
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 4081 bytes
Desc: not available
More information about the Pkg-shadow-devel