[MLton-commit] r7344

Wesley Terpstra wesley at mlton.org
Mon Nov 2 07:04:00 PST 2009


Don't prompt, just do.


----------------------------------------------------------------------

U   mlton/trunk/package/mingw/MLton.conf
U   mlton/trunk/package/mingw/Makefile

----------------------------------------------------------------------

Modified: mlton/trunk/package/mingw/MLton.conf
===================================================================
--- mlton/trunk/package/mingw/MLton.conf	2009-11-02 14:47:57 UTC (rev 7343)
+++ mlton/trunk/package/mingw/MLton.conf	2009-11-02 15:03:54 UTC (rev 7344)
@@ -1,5 +1,3 @@
 ;!@Install@!UTF-8!
-Title="MLton Installation"
-BeginPrompt="Do you want to install MLton?"
 ExecuteFile="MLton.msi"
 ;!@InstallEnd@!

Modified: mlton/trunk/package/mingw/Makefile
===================================================================
--- mlton/trunk/package/mingw/Makefile	2009-11-02 14:47:57 UTC (rev 7343)
+++ mlton/trunk/package/mingw/Makefile	2009-11-02 15:03:54 UTC (rev 7344)
@@ -5,10 +5,13 @@
 PKG_WXS=$(patsubst %,%.wxs,$(PKG))
 PKG_WIXOBJ=$(patsubst %,%.wixobj,$(PKG))
 
-MLton.exe:	MLton.msi
-	7z a data.7z -mx=9 $<
+MLton.exe:	data.7z
 	cat 7zS.sfx MLton.conf data.7z > $@
 
+.PRECIOUS: data.7z
+data.7z:	MLton.msi
+	7z a data.7z -mx=9 $<
+
 MLton.msi:	mlton.wixobj dirs.wixobj files.wixobj $(PKG_WIXOBJ)
 	light -cultures:en-us -ext WixUIExtension -out $@ $^
 




More information about the MLton-commit mailing list