WARNING: This server is unstable and will be retired in the next days.
If you want to keep this forum available, please request immediately a migration
on the Nabble Support forum.
Forums that don't receive any migration request will be deleted forever.
Le 15/05/2012 15:33, Roger Leigh a écrit :
> On Tue, May 15, 2012 at 12:46:08PM -0400, David Prévot wrote:
>> Indeed, simply running “po4a --destdir=../debian/build/man/ po4a.cfg”
>> from the man directory builds everything where expected (even with
>> “--srcdir=.”), but when run from the root directory, it builds them in
>> both the --srcdir and the --destdir, so it may be a bug in po4a. As a
>> workaround, you could remove the sloppy man/translated directory in the
>> update-po rule, after the po4a call.
> We can do this as a workaround for now.
> In general though, it breaks building from a read-only source tree
> of building several diffrent builds from a common source tree, so
> I would hope to be able to fix it.
I thought about a bit less ugly workaround: “cd man && po4a $stuff”
since this issue is not triggered if po4a is run with --srcdir=. (or
Another workaround could be to rewrite man/po4a.cfg to document the
files path from the root directory (attached, but I haven't tested it:
it may need extra care about $(builddir) in the Makefile call since it
should now point the debian/build/ directory instead of
debian/build/man/). I also took the liberty to simplify the addenda
handling (they should now be added as man/addenda/$lang.add, Thomas
should be able to provide one for his translation (and I will be happy
to help if needed).