Opened 16 years ago
Closed 16 years ago
#978 closed enhancement (fixed)
DOCS/xml/Makefile always builds all languages regardless of ./configure --language=...
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | normal | Component: | DOCS |
Version: | HEAD | Severity: | minor |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Reproduced by developer: | no | Analyzed by developer: | no |
Description
The DOCS/xml/Makefile does not honor the --language=... parameter (or LINGUAS environment variable) given to ./configure, instead it builds all available languages always.
Attachments (2)
Change History (6)
by , 16 years ago
Attachment: | mplayer-xml-docs-build-selected-languages-only-r25563.diff added |
---|
comment:1 by , 16 years ago
comment:2 by , 16 years ago
The following block (in my proposed patch)
+ if test "$lang" = en ; then
+ test "$got_en_lang" && continue
+ got_en_lang=1
+ fi
was added to avoid having "en" twice in the DOC_LANG variable (which usually
happens unless --language=all was specified). HTML generation takes a lot of
time, so I felt avoiding duplicates was motivated.
by , 16 years ago
Attachment: | mplayer-xml-docs-build-selected-languages-only-r25563.2.diff added |
---|
Added line to ./configure summary output
comment:3 by , 16 years ago
attachments.isobsolete: | 0 → 1 |
---|
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
OK, this took quite a long time, but now I finally got around to implementing something based on your patch. Thanks for the effort.
Fixes the issue by generting DOC_LANG in config.mak and using it in DOCS/xml/Makefile