include Qt translations for our private bundle

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39592 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Stephan Witt 2011-09-05 18:24:54 +00:00
parent ad0ebcdb1d
commit a15074152e

View File

@ -543,6 +543,7 @@ deploy_qtlibs() {
test -f "${condir}/Resources/qt.conf" || cat - > "${condir}/Resources/qt.conf" <<-EOF test -f "${condir}/Resources/qt.conf" || cat - > "${condir}/Resources/qt.conf" <<-EOF
[Paths] [Paths]
Plugins = PlugIns Plugins = PlugIns
Translations = translations
EOF EOF
if [ ! -d "${condir}/PlugIns" ]; then if [ ! -d "${condir}/PlugIns" ]; then
mkdir -p "${condir}/PlugIns" mkdir -p "${condir}/PlugIns"
@ -588,6 +589,11 @@ EOF
"@executable_path/../${fwdir}/${version}${libnm}"\ "@executable_path/../${fwdir}/${version}${libnm}"\
"${target}" "${target}"
done done
if [ ! -d "${condir}/translations" ]; then
mkdir -p "${condir}/translations"
fi
echo Copy Qt translations to "${condir}/translations"
cp -p "${source}"/translations/qt_*.qm "${condir}/translations"
} }
# ------------------------- # -------------------------