mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/bin/overrides/gnucash-build-env.in: part 1 of startup
changes -- use envt vars for more bits: GNC_CONFIG_DIR, GNC_SHARE_DIR, and GNC_DOC_PATH now. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6202 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
268218f4a5
commit
7e213800c1
@ -12,12 +12,24 @@ top_srcdir="@-GNC_SRCDIR-@"
|
||||
top_builddir="@-GNC_BUILDDIR-@"
|
||||
G_WRAP_MODULE_DIR="@-G_WRAP_MODULE_DIR-@"
|
||||
|
||||
if test "${GNC_CONFIG}"x = x
|
||||
if test "${GNC_CONFIG_DIR}"x = x
|
||||
then
|
||||
GNC_CONFIG_DIR="${top_srcdir}/src/scm"
|
||||
export GNC_CONFIG_DIR
|
||||
fi
|
||||
|
||||
if test "${GNC_SHARE_DIR}"x = x
|
||||
then
|
||||
GNC_SHARE_DIR="${top_srcdir}/src/scm"
|
||||
export GNC_SHARE_DIR
|
||||
fi
|
||||
|
||||
if test "${GNC_DOC_PATH}"x = x
|
||||
then
|
||||
GNC_DOC_PATH="(${top_srcdir}/src/scm)"
|
||||
export GNC_DOC_PATH
|
||||
fi
|
||||
|
||||
eval `@-GNC_SRCDIR-@/src/gnc-test-env \
|
||||
--library-dir ${top_builddir}/src/core-utils \
|
||||
--library-dir ${top_builddir}/src/gnome \
|
||||
|
Loading…
Reference in New Issue
Block a user