Fix automated path setup of gnucash script. Should now probably work.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14815 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Christian Stimming 2006-09-07 12:49:39 +00:00
parent 524e1e5182
commit 25971c3171

View File

@ -676,6 +676,7 @@ function svn_up() {
function inst_gnucash() {
setup GnuCash
_GNUCASH_WFSDIR=`win_fs_path $GNUCASH_DIR`
_GNUCASH_UDIR=`unix_path $GNUCASH_DIR`
POPT_CPPFLAGS="-I${_GNOME_UDIR}/include"
POPT_LDFLAGS="-L${_GNOME_UDIR}/lib"
qpushd $REPOS_DIR
@ -706,8 +707,9 @@ function inst_gnucash() {
# Try to fix the paths in the "gnucash" script
qpushd src/bin
rm gnucash
make PATH_SEPARATOR=";" gnucash
# FIXME: Still not all paths are set up correctly.
make PATH_SEPARATOR=";" \
bindir="${_GNUCASH_UDIR}/bin:${_GNUCASH_UDIR}/lib/bin:${_GOFFICE_UDIR}/bin:${_LIBGSF_UDIR}/bin:${_GWRAP_UDIR}/bin:${_GNOME_UDIR}/bin:${_LIBXML2_UDIR}/bin:${_GUILE_UDIR}/bin:${_REGEX_UDIR}/bin" \
gnucash
qpopd
make install