Merge lp:~tetromino/deja-dup/linguas into lp:deja-dup/22
|Approved by:||Michael Terry on 2012-02-21|
|Merged at revision:||1291|
|Diff against target:||
43 lines (+14/-5)
1 file modified
|To merge this branch:||bzr merge lp:~tetromino/deja-dup/linguas|
Description of the Change
This merge proposal is to fix an issue originally reported in https:/
intltool-using applications are expected to honor the LINGUAS environment variable when configuring and building from source. For example, if LINGUAS="en ru", then only the English and Russian versions of translated messages, schemas, help files, man pages, etc. should be built.
For the most part, deja-dup's build system does honor LINGUAS. The exception is man page generation; if LINGUAS is set to a subset of languages available in po/LINGUAS, the build will simply fail during make install:
make: Entering directory `/var/tmp/
make: Nothing to be done for `install-exec-am'.
make: *** No rule to make target `ar/stamp', needed by `man'. Stop.
This branch fixes the problem with a patch to use the logic from intltool's Makefile.in.in to calculate the set of languages for which man pages should be built.