view debian/all-lang-config-mak.sh @ 34114:113156bc1137

Ensure that filename related config will always be loaded. Currently, filename related config will only be loaded if MPlayer knows the filename when it gets called, which isn't the case if either MPlayer is called in slave mode or the GUI is called without file argument. In either case, the file to be played is known only later. If filename related config hasn't yet been read, do it after leaving the idle mode loop.
author ib
date Sat, 15 Oct 2011 11:07:29 +0000
parents c9f9a077d760
children
line wrap: on
line source

#!/bin/sh

# hack to avoid having to configure mplayer just for building the
# xml documentation

doc_lang_all=`echo DOCS/xml/??/ DOCS/xml/??_??/ | sed -e "s:DOCS/xml/\(..\)/:\1:g" -e "s:DOCS/xml/\(.._..\)/:\1:g"`

echo "DOC_LANG_ALL = ${doc_lang_all}"
echo "DOC_LANGS = ${doc_lang_all}"