[jsword-svn] r1488 - trunk/bibledesktop

dmsmith at www.crosswire.org dmsmith at www.crosswire.org
Mon Jul 9 13:38:05 MST 2007


Author: dmsmith
Date: 2007-07-09 13:38:05 -0700 (Mon, 09 Jul 2007)
New Revision: 1488

Modified:
   trunk/bibledesktop/build.xml
Log:
Add support for building a windows installer on linux, mac and windows.

Modified: trunk/bibledesktop/build.xml
===================================================================
--- trunk/bibledesktop/build.xml	2007-07-09 20:24:48 UTC (rev 1487)
+++ trunk/bibledesktop/build.xml	2007-07-09 20:38:05 UTC (rev 1488)
@@ -11,6 +11,9 @@
 
   <property name="gener.root"        value="${target.root}/gener"/>
 
+  <property name="support.tools" value="../jsword-support/tools"/>
+  <import file="${support.tools}/nsis/build.xml"/>
+
   <!--=======================================================================-->
   <target name="testcompile.extra">
     <mkdir dir="${gener.root}/config"/>
@@ -26,7 +29,7 @@
 
   <!--=======================================================================-->
   <target name="install"
-          depends="build, keygen, install.check"
+          depends="build, keygen, install.check, nsis"
           unless="install.uptodate"
           description="Prepares for web based jnlp deploy">
 
@@ -132,6 +135,10 @@
     <fixcrlf srcdir="${target.installed}" eol="crlf">
       <include name="**/*.bat"/>
     </fixcrlf>
+
+  	<!-- Build the Windows installers from the installed/signed jars -->
+  	<nsis script="${source.etc}/installer/win32/BibleDesktop.nsi"/>
+  	<nsis script="${source.etc}/installer/win32/BibleDesktopSetup.nsi"/>
   </target>
 
   <target name="install.check">




More information about the jsword-svn mailing list