Merge lp:~tetromino/deja-dup/linguas into lp:deja-dup/22
Status: | Merged |
---|---|
Approved by: | Michael Terry |
Approved revision: | 1289 |
Merged at revision: | 1291 |
Proposed branch: | lp:~tetromino/deja-dup/linguas |
Merge into: | lp:deja-dup/22 |
Diff against target: |
43 lines (+14/-5) 1 file modified
man/Makefile.am (+14/-5) |
To merge this branch: | bzr merge lp:~tetromino/deja-dup/linguas |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Terry | Approve | ||
Review via email: mp+92701@code.launchpad.net |
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[2]: Entering directory `/var/tmp/
make[2]: Nothing to be done for `install-exec-am'.
make[2]: *** 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.
Nice, thanks!