view debian/all-lang-config-mak.sh @ 34177:fadc00cc31d3

Optimize TranslateFilename(). Replace for loop with index by while loop with pointer. Unite the if conditions.
author ib
date Wed, 26 Oct 2011 15:52:06 +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}"