r15378 - gnucash/trunk - Drop variables GNC_LIBDIR and GNC_MODULE_DIR.
Andreas Köhler
andi5 at cvs.gnucash.org
Sun Jan 14 14:38:08 EST 2007
Author: andi5
Date: 2007-01-14 14:38:05 -0500 (Sun, 14 Jan 2007)
New Revision: 15378
Trac: http://svn.gnucash.org/trac/changeset/15378
Modified:
gnucash/trunk/configure.in
gnucash/trunk/src/bin/Makefile.am
gnucash/trunk/src/bin/gnucash-valgrind.in
gnucash/trunk/src/bin/gnucash.in
gnucash/trunk/src/bin/overrides/Makefile.am
gnucash/trunk/src/bin/overrides/gnucash-env.in
Log:
Drop variables GNC_LIBDIR and GNC_MODULE_DIR.
Both are equal to pkglibdir and only used in src/bin/, even mixed with
pkglibdir. The module installation paths are hard-coded to pkglibdir
anyway, so we do not provide that flexibility right now.
Modified: gnucash/trunk/configure.in
===================================================================
--- gnucash/trunk/configure.in 2007-01-14 19:38:01 UTC (rev 15377)
+++ gnucash/trunk/configure.in 2007-01-14 19:38:05 UTC (rev 15378)
@@ -537,7 +537,6 @@
GNC_CONFIGDIR='${sysconfdir}/gnucash'
GNC_DOC_INSTALL_DIR='${pkgdatadir}/doc'
GNC_INCLUDE_DIR='${includedir}/gnucash'
-GNC_LIBDIR='${pkglibdir}'
GNC_SCM_INSTALL_DIR='${pkgdatadir}/scm'
GNC_SHAREDIR='${pkgdatadir}'
GNC_LIBEXECDIR='${libexecdir}/gnucash'
@@ -545,7 +544,6 @@
GNC_ACCOUNTS_DIR='${GNC_SHAREDIR}/accounts'
GNC_GLADE_DIR='${GNC_SHAREDIR}/glade'
GNC_UI_DIR='${GNC_SHAREDIR}/ui'
-GNC_MODULE_DIR='${pkglibdir}'
GNC_PIXMAP_DIR='${GNC_SHAREDIR}/pixmaps'
AC_SUBST(GNC_ACCOUNTS_DIR)
@@ -554,8 +552,6 @@
AC_SUBST(GNC_GLADE_DIR)
AC_SUBST(GNC_UI_DIR)
AC_SUBST(GNC_INCLUDE_DIR)
-AC_SUBST(GNC_LIBDIR)
-AC_SUBST(GNC_MODULE_DIR)
AC_SUBST(GNC_PIXMAP_DIR)
AC_SUBST(GNC_SCM_INSTALL_DIR)
AC_SUBST(GNC_SHAREDIR)
@@ -1946,7 +1942,7 @@
### GnuCash flags and libs configuration
GNUCASH_ENGINE_BASE_LIBS="${GLIB_LIBS}"
-GNUCASH_ENGINE_LIBS="-L${GNC_MODULE_DIR} ${GNUCASH_ENGINE_BASE_LIBS} ${GUILE_LIBS} -lgncmod-engine -lgnc-module"
+GNUCASH_ENGINE_LIBS="-L${pkglibdir} ${GNUCASH_ENGINE_BASE_LIBS} ${GUILE_LIBS} -lgncmod-engine -lgnc-module"
GNUCASH_ENGINE_BASE_CFLAGS="-DGNUCASH ${GLIB_CFLAGS} ${GUILE_INCS}"
GNUCASH_ENGINE_CFLAGS="${GNUCASH_ENGINE_BASE_CFLAGS}"
Modified: gnucash/trunk/src/bin/Makefile.am
===================================================================
--- gnucash/trunk/src/bin/Makefile.am 2007-01-14 19:38:01 UTC (rev 15377)
+++ gnucash/trunk/src/bin/Makefile.am 2007-01-14 19:38:05 UTC (rev 15378)
@@ -36,8 +36,7 @@
-e 's#@-GNC_SCM_INSTALL_DIR-@#${GNC_SCM_INSTALL_DIR}#g' \
-e 's#@-GNC_LIB_INSTALLDIR-@#${libdir}#' \
-e 's#@-GNC_PKGLIB_INSTALLDIR-@#${pkglibdir}#g' \
- -e 's#@-PATH_SEPARATOR-@#${PATH_SEPARATOR}#g' \
- -e 's#@-GNC_MODULE_DIR-@#${GNC_MODULE_DIR}#g'
+ -e 's#@-PATH_SEPARATOR-@#${PATH_SEPARATOR}#g'
mv $@.tmp $@
chmod u+x $@
@@ -49,7 +48,6 @@
-e 's#@-GNC_SCM_INSTALL_DIR-@#${GNC_SCM_INSTALL_DIR}#g' \
-e 's#@-GNC_LIB_INSTALLDIR-@#${libdir}#' \
-e 's#@-GNC_PKGLIB_INSTALLDIR-@#${pkglibdir}#g' \
- -e 's#@-GNC_MODULE_DIR-@#${GNC_MODULE_DIR}#g' \
-e "s#@-TOP_SRC_DIR-@#`pwd`/${top_srcdir}#g"
mv $@.tmp $@
chmod u+x $@
Modified: gnucash/trunk/src/bin/gnucash-valgrind.in
===================================================================
--- gnucash/trunk/src/bin/gnucash-valgrind.in 2007-01-14 19:38:01 UTC (rev 15377)
+++ gnucash/trunk/src/bin/gnucash-valgrind.in 2007-01-14 19:38:05 UTC (rev 15378)
@@ -14,7 +14,7 @@
EXTRA_LIBS="${GNC_MODULE_PATH}"
EXTRA_LIBS="${EXTRA_LIBS}:@-GNC_LIB_INSTALLDIR-@"
-EXTRA_LIBS="${EXTRA_LIBS}:@-GNC_MODULE_DIR-@"
+EXTRA_LIBS="${EXTRA_LIBS}:@-GNC_PKGLIB_INSTALLDIR-@"
LD_LIBRARY_PATH="${EXTRA_LIBS}:${LD_LIBRARY_PATH}"
TOP_SRC_DIR="@-TOP_SRC_DIR-@"
Modified: gnucash/trunk/src/bin/gnucash.in
===================================================================
--- gnucash/trunk/src/bin/gnucash.in 2007-01-14 19:38:01 UTC (rev 15377)
+++ gnucash/trunk/src/bin/gnucash.in 2007-01-14 19:38:05 UTC (rev 15378)
@@ -14,7 +14,7 @@
EXTRA_LIBS="${GNC_MODULE_PATH}"
EXTRA_LIBS="${EXTRA_LIBS}@-PATH_SEPARATOR-@@-GNC_LIB_INSTALLDIR-@"
-EXTRA_LIBS="${EXTRA_LIBS}@-PATH_SEPARATOR-@@-GNC_MODULE_DIR-@"
+EXTRA_LIBS="${EXTRA_LIBS}@-PATH_SEPARATOR-@@-GNC_PKGLIB_INSTALLDIR-@"
LD_LIBRARY_PATH="${EXTRA_LIBS}@-PATH_SEPARATOR-@${LD_LIBRARY_PATH}"
DYLD_LIBRARY_PATH="${EXTRA_LIBS}@-PATH_SEPARATOR-@${DYLD_LIBRARY_PATH}"
Modified: gnucash/trunk/src/bin/overrides/Makefile.am
===================================================================
--- gnucash/trunk/src/bin/overrides/Makefile.am 2007-01-14 19:38:01 UTC (rev 15377)
+++ gnucash/trunk/src/bin/overrides/Makefile.am 2007-01-14 19:38:05 UTC (rev 15378)
@@ -35,7 +35,6 @@
-e 's#@-GNC_SCM_INSTALL_DIR-@#${GNC_SCM_INSTALL_DIR}#g' \
-e 's#@-GNC_LIB_INSTALLDIR-@#${libdir}#' \
-e 's#@-GNC_PKGLIB_INSTALLDIR-@#${pkglibdir}#g' \
- -e 's#@-GNC_MODULE_DIR-@#${GNC_MODULE_DIR}#g' \
-e 's#@-GNC_SCRIPT_OVERRIDE_DIR-@#${gncoverridedir}#g'
mv $@.tmp $@
chmod u+x $@
Modified: gnucash/trunk/src/bin/overrides/gnucash-env.in
===================================================================
--- gnucash/trunk/src/bin/overrides/gnucash-env.in 2007-01-14 19:38:01 UTC (rev 15377)
+++ gnucash/trunk/src/bin/overrides/gnucash-env.in 2007-01-14 19:38:05 UTC (rev 15378)
@@ -13,7 +13,7 @@
EXTRA_LIBS="${GNC_MODULE_PATH}"
EXTRA_LIBS="${EXTRA_LIBS}:@-GNC_LIB_INSTALLDIR-@"
-EXTRA_LIBS="${EXTRA_LIBS}:@-GNC_MODULE_DIR-@"
+EXTRA_LIBS="${EXTRA_LIBS}:@-GNC_PKGLIB_INSTALLDIR-@"
LD_LIBRARY_PATH="${EXTRA_LIBS}:${LD_LIBRARY_PATH}"
More information about the gnucash-changes
mailing list