[Tux4kids-commits] r408 - tuxmath/trunk

dbruce-guest at alioth.debian.org dbruce-guest at alioth.debian.org
Fri Jan 4 20:00:03 UTC 2008


Author: dbruce-guest
Date: 2008-01-04 20:00:03 +0000 (Fri, 04 Jan 2008)
New Revision: 408

Modified:
   tuxmath/trunk/Makefile.am
Log:
refinement of NSIS installer target


Modified: tuxmath/trunk/Makefile.am
===================================================================
--- tuxmath/trunk/Makefile.am	2008-01-04 15:26:15 UTC (rev 407)
+++ tuxmath/trunk/Makefile.am	2008-01-04 20:00:03 UTC (rev 408)
@@ -83,10 +83,14 @@
 install-nsi-am: install-nsi-local
 
 
-nsis: install-nsi-local
-	if test ["x$(MAKENSIS)"="x"]; then \
-	  echo "\nNSIS program not found!\n"; \
+nsis:
+	if test "x$(MAKENSIS)" = "x"; then \
+	  echo "\nError - makensis program not found!"; \
+          echo "It is needed to build the NSIS executable installer for Windows."; \
+          echo "Install it from your distribution's repository, or" ; \
+          echo "download it from: http://nsis.sourceforge.net/Download\n"; \
 	else \
+	$(MAKE) $(AM_MAKEFLAGS) install-nsi-local; \
 	  $(MAKENSIS) -NOCD nsis/tuxmath.nsi; \
 	fi
 
@@ -99,4 +103,5 @@
 	  rm tuxmath- at VERSION@-win32-installer.exe; \
 	fi
 
+.PHONY: nsis
 




More information about the Tux4kids-commits mailing list