[gnumeric] win32: automate building of installer.



commit 1da53ff974196919bae8e153d2ef23f37856fe28
Author: Morten Welinder <terra gnome org>
Date:   Sat Jun 5 09:24:24 2010 -0400

    win32: automate building of installer.

 tools/win32/build |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/tools/win32/build b/tools/win32/build
index f861724..339b993 100755
--- a/tools/win32/build
+++ b/tools/win32/build
@@ -112,7 +112,11 @@ setup_nsis() {
 #	make module=foo debug
 #	make target=shell debug
 #	make target=doc debug
-    if [ "x${target}" = "xshell" ]; then
+    
+    if [ "x${target}" = "xinstaller" ]; then
+	( cd "${JH_PREFIX}/deploy" && \
+	  wine 'C:\Program Files\NSIS/makensis.exe' gnumeric.nsi )
+    elif [ "x${target}" = "xshell" ]; then
  	${HOME}/bin/jhbuild -f "${srcdir}/jhbuildrc.py" shell
     elif [ "x${target}" = "xdoc" ]; then
 	echo make -C "${srcdir}/../../doc/C" chm



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]