r15275 - gnucash/trunk/packaging/win32 - Configure from a relative path on Windows, because gnucash-build-env

Andreas Köhler andi5 at cvs.gnucash.org
Thu Dec 28 17:14:36 EST 2006


Author: andi5
Date: 2006-12-28 17:14:36 -0500 (Thu, 28 Dec 2006)
New Revision: 15275
Trac: http://svn.gnucash.org/trac/changeset/15275

Modified:
   gnucash/trunk/packaging/win32/custom.sh
   gnucash/trunk/packaging/win32/install.sh
Log:
Configure from a relative path on Windows, because gnucash-build-env
will not work with top_srcdir begin absolute.


Modified: gnucash/trunk/packaging/win32/custom.sh
===================================================================
--- gnucash/trunk/packaging/win32/custom.sh	2006-12-28 20:26:03 UTC (rev 15274)
+++ gnucash/trunk/packaging/win32/custom.sh	2006-12-28 22:14:36 UTC (rev 15275)
@@ -9,6 +9,8 @@
 GNUCASH_DIR=$GLOBAL_DIR\\gnucash
 REPOS_URL="http://svn.gnucash.org/repo/gnucash/trunk"
 REPOS_DIR=$GNUCASH_DIR\\repos
+# keep this pointing from BUILD_DIR to REPOS_DIR
+REL_REPOS_DIR=..\\repos
 BUILD_DIR=$GNUCASH_DIR\\build
 INSTALL_DIR=$GNUCASH_DIR\\inst
 

Modified: gnucash/trunk/packaging/win32/install.sh
===================================================================
--- gnucash/trunk/packaging/win32/install.sh	2006-12-28 20:26:03 UTC (rev 15274)
+++ gnucash/trunk/packaging/win32/install.sh	2006-12-28 22:14:36 UTC (rev 15275)
@@ -648,6 +648,7 @@
     _INSTALL_WFSDIR=`win_fs_path $INSTALL_DIR`
     _INSTALL_UDIR=`unix_path $INSTALL_DIR`
     _BUILD_UDIR=`unix_path $BUILD_DIR`
+    _REL_REPOS_UDIR=`unix_path $REL_REPOS_DIR`
     mkdir -p $_BUILD_UDIR
 
     qpushd $REPOS_DIR
@@ -664,7 +665,7 @@
     qpopd
 
     qpushd $BUILD_DIR
-        $_REPOS_UDIR/configure ${HOST_XCOMPILE} ${TARGET_XCOMPILE} \
+        $_REL_REPOS_UDIR/configure ${HOST_XCOMPILE} ${TARGET_XCOMPILE} \
             --prefix=$_INSTALL_WFSDIR \
             --enable-debug \
             --enable-schemas-install=no \



More information about the gnucash-changes mailing list