Mercurial > mplayer.hg
changeset 26786:4c939dffe575
Split MAN_LANG Makefile variable into MAN_LANG and MAN_LANG_ALL with
MAN_LANG only containing the translated languages.
author | diego |
---|---|
date | Sun, 18 May 2008 16:40:20 +0000 |
parents | a3eb683ccb2e |
children | 58dd979537a5 |
files | configure |
diffstat | 1 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sun May 18 16:25:20 2008 +0000 +++ b/configure Sun May 18 16:40:20 2008 +0000 @@ -2593,12 +2593,13 @@ test -f $_mp_help || die "$_mp_help not found" for lang in $LANGUAGES ; do if test -f "DOCS/man/$lang/mplayer.1" ; then - MAN_LANG="$lang $MAN_LANG" + MAN_LANG_ALL="$lang $MAN_LANG_ALL" fi done +MAN_LANG="$(echo $MAN_LANG_ALL | sed s/en //)" _doc_lang=$_language test -d DOCS/xml/$_doc_lang || _doc_lang=en -echores "using $_language (man pages: $MAN_LANG)" +echores "using $_language (man pages: $MAN_LANG_ALL)" echocheck "enable sighandler" @@ -7567,6 +7568,7 @@ LANG = C MAN_LANG = $MAN_LANG +MAN_LANG_ALL = $MAN_LANG_ALL TARGET_OS = $system_name DESTDIR = prefix = \$(DESTDIR)$_prefix @@ -8570,7 +8572,7 @@ Messages/GUI: $_language EOF -echo ${_echo_n} " Manual pages: $MAN_LANG ${_echo_c}" +echo ${_echo_n} " Manual pages: $MAN_LANG_ALL ${_echo_c}" test "$LANGUAGES" = en && echo ${_echo_n} " (no localization selected, use --language=all)${_echo_c}" echo