r14870 - gnucash/trunk/packaging/win32 - Properly detect installed or uninstalled expat. Propose packaging command for cross-compiled gnucash.

Christian Stimming cstim at cvs.gnucash.org
Tue Sep 19 07:00:07 EDT 2006


Author: cstim
Date: 2006-09-19 07:00:06 -0400 (Tue, 19 Sep 2006)
New Revision: 14870
Trac: http://svn.gnucash.org/trac/changeset/14870

Modified:
   gnucash/trunk/packaging/win32/install.sh
Log:
Properly detect installed or uninstalled expat. Propose packaging command for cross-compiled gnucash.

Modified: gnucash/trunk/packaging/win32/install.sh
===================================================================
--- gnucash/trunk/packaging/win32/install.sh	2006-09-19 09:03:36 UTC (rev 14869)
+++ gnucash/trunk/packaging/win32/install.sh	2006-09-19 11:00:06 UTC (rev 14870)
@@ -415,7 +415,7 @@
     setup Expat
     _EXPAT_UDIR=`unix_path $EXPAT_DIR`
     add_to_env $_EXPAT_UDIR/bin PATH
-    if quiet which xmlwf
+    if quiet which xmlwf && test -f $_EXPAT_UDIR/bin/xmlwf.exe
     then
         echo "expat already installed.  skipping."
     else
@@ -819,6 +819,19 @@
 	    echo echo "'${_CHANGE}' >> /etc/profile.d/installer.sh"
 	fi
     done
+    if test "x$cross_compile" = "xyes" ; then
+	echo "You might want to create a binary tarball now as follows:"
+	qpushd $GLOBAL_DIR
+	echo tar -czf $HOME/gnucash-fullbin.tar.gz --anchored \
+	    --exclude='*.a' --exclude='*.o' --exclude='*.h' \
+	    --exclude='*.info' --exclude='*.html' \
+	    --exclude='*include/*' --exclude='*gtk-doc*' \
+	    --exclude='bin*' \
+	    --exclude='mingw32/*' --exclude='*bin/mingw32-*' \
+	    --exclude='gnucash-trunk*' \
+	    *
+	qpopd
+    fi
 }
 
 prepare



More information about the gnucash-changes mailing list