]> git.lyx.org Git - features.git/commitdiff
backport of --with-util-dir option
authorStephan Witt <switt@lyx.org>
Sun, 4 Jan 2015 13:39:11 +0000 (14:39 +0100)
committerStephan Witt <switt@lyx.org>
Mon, 5 Jan 2015 22:36:44 +0000 (23:36 +0100)
development/LyX-Mac-binary-release.sh

index 53ee0eba94129582ed0f734d375f2c96f503350d..5df1107a8f0de2ef449ae7d8b9c98ac47e5fe4b3 100644 (file)
@@ -212,6 +212,10 @@ while [ $# -gt 0 ]; do
                LyxBuildDir=$(echo ${1}|cut -d= -f2)
                shift
                ;;
+       --with-util-dir=*)
+               LyXUtilitiesDir=$(echo ${1}|cut -d= -f2)
+               shift
+               ;;
        --help|--help=*)
                usage
                ;;
@@ -251,19 +255,21 @@ aspellstrip=
 LyxBuildDir=${LyxBuildDir:-$(dirname "${LyxSourceDir}")/lyx-build}
 DMGLocation=${DMGLocation:-"${LyxBuildDir}"}
 
+LyXUtilitiesDir=${LyXUtilitiesDir:-"${LyxBuildDir}"/utilities}
+
 GettextSourceDir=${GETTEXTDIR:-$(dirname "${LyxSourceDir}")/${GettextSource}}
 GettextBuildDir="${LyxBuildDir}"/"${GettextSource}"
-GettextInstallDir=${GettextInstallDir:-"${LyxBuildDir}"/utilities}
+GettextInstallDir=${GettextInstallDir:-"${LyXUtilitiesDir}"}
 GettextInstallHdr="${GettextInstallDir}/include/libintl.h"
 
 ASpellSourceDir=${ASPELLDIR:-$(dirname "${LyxSourceDir}")/${ASpellSource}}
 ASpellBuildDir="${ASpellSourceDir}"
-ASpellInstallDir=${ASpellInstallDir:-"${LyxBuildDir}"/utilities}
+ASpellInstallDir=${ASpellInstallDir:-"${LyXUtilitiesDir}"}
 ASpellInstallHdr="${ASpellInstallDir}/include/aspell.h"
 
 HunSpellSourceDir=${HUNSPELLDIR:-$(dirname "${LyxSourceDir}")/${HunSpellSource}}
 HunSpellBuildDir="${HunSpellSourceDir}"
-HunSpellInstallDir=${HunSpellInstallDir:-"${LyxBuildDir}"/utilities}
+HunSpellInstallDir=${HunSpellInstallDir:-"${LyXUtilitiesDir}"}
 HunSpellInstallHdr="${HunSpellInstallDir}/include/hunspell/hunspell.h"
 
 Qt4SourceDir=${QT4SOURCEDIR:-$(dirname "${LyxSourceDir}")/${Qt4SourceVersion}}