The attached patch has the install target build the installer instead. Also
included, a modification to the text output by configure reflecting this change.
Best regards,
Kurosu
Index: Makefile.am
===================================================================
--- Makefile.am (revision 835)
+++ Makefile.am (working copy)
@@ -1 +1,11 @@
SUBDIRS = data src po doc
+
+if WIN32
+install: all
+ @echo "Building Win32 .exe installer in tools/win32_setup"
+ @(cd tools/win32_setup && sh create_setup.sh 2> installer.log 1>&2 && \
+ rm installer.log && echo "Success!") || \
+ (echo "Installer compilation failed!"; \
+ echo "Check tools/win32_setup/installer.log for details"; \
+ exit 1)
+endif
Index: configure.ac
===================================================================
--- configure.ac (revision 835)
+++ configure.ac (working copy)
@@ -290,6 +290,8 @@
AC_OUTPUT
+if test "${WIN32}" = "yes"; then INSTALL_OP="build NSIS installer..."
+else INSTALL_OP="install..."; fi
AC_MSG_RESULT([
Configuration complete
@@ -298,6 +300,6 @@
* Game locale will be installed into $LOCALEDIR
* Font file will be $FONTFILE
-Execute make to compile then execute make install to install...
+Execute make to compile then execute make install to $INSTALL_OP
])
_______________________________________________
Wormux-dev mailing list
Wormux-dev@gna.org
https://mail.gna.org/listinfo/wormux-dev