[MPlayer-cvslog] r26818 - trunk/configure
diego
subversion at mplayerhq.hu
Sun May 18 18:40:23 CEST 2008
Author: diego
Date: Sun May 18 18:40:20 2008
New Revision: 26818
Log:
Split MAN_LANG Makefile variable into MAN_LANG and MAN_LANG_ALL with
MAN_LANG only containing the translated languages.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure (original)
+++ trunk/configure Sun May 18 18:40:20 2008
@@ -2593,12 +2593,13 @@ _mp_help="help/help_mp-${_language}.h"
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 @@ cat > config.mak << EOF
LANG = C
MAN_LANG = $MAN_LANG
+MAN_LANG_ALL = $MAN_LANG_ALL
TARGET_OS = $system_name
DESTDIR =
prefix = \$(DESTDIR)$_prefix
@@ -8570,7 +8572,7 @@ Config files successfully generated by .
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
More information about the MPlayer-cvslog
mailing list