[MLton-commit] r6281

Matthew Fluet fluet at mlton.org
Mon Dec 17 16:45:41 PST 2007


Description.plist can be used automatically from Resources; remove .dmg before creating
----------------------------------------------------------------------

D   mlton/trunk/package/macosx/Description.plist
U   mlton/trunk/package/macosx/Makefile
A   mlton/trunk/package/macosx/Resources/Description.plist

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

Deleted: mlton/trunk/package/macosx/Description.plist
===================================================================
--- mlton/trunk/package/macosx/Description.plist	2007-12-18 00:18:44 UTC (rev 6280)
+++ mlton/trunk/package/macosx/Description.plist	2007-12-18 00:45:41 UTC (rev 6281)
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>IFPkgDescriptionDescription</key>
-	<string>MLton is an open-source, whole-program, optimizing Standard ML compiler.</string>
-	<key>IFPkgDescriptionTitle</key>
-	<string>MLton Standard ML Compiler</string>
-</dict>
-</plist>

Modified: mlton/trunk/package/macosx/Makefile
===================================================================
--- mlton/trunk/package/macosx/Makefile	2007-12-18 00:18:44 UTC (rev 6280)
+++ mlton/trunk/package/macosx/Makefile	2007-12-18 00:45:41 UTC (rev 6281)
@@ -8,11 +8,13 @@
 endif
 
 mlton-$(VERSION)-$(RELEASE).$(TARGET_ARCH)-$(TARGET_OS).dmg: mlton-$(VERSION)-$(RELEASE).$(TARGET_ARCH)-$(TARGET_OS).pkg
+	rm -rf $@
 	hdiutil create -srcfolder $< $@
 	rm -rf $<
 
-mlton-$(VERSION)-$(RELEASE).$(TARGET_ARCH)-$(TARGET_OS).pkg: Info.plist Description.plist install/usr/local/bin/mlton Resources/postinstall Resources/postupgrade
-	/Developer/Tools/packagemaker -build -ds -v -i Info.plist -d Description.plist -f install/usr/local -r Resources -p $@
+mlton-$(VERSION)-$(RELEASE).$(TARGET_ARCH)-$(TARGET_OS).pkg: Info.plist install/usr/local/bin/mlton Resources/*
+	rm -rf $@
+	/Developer/Tools/packagemaker -build -ds -i Info.plist -f install/usr/local -r Resources -p $@
 	sudo rm -rf install
 
 install/usr/local/bin/mlton: ../../install/usr/local/bin/mlton

Copied: mlton/trunk/package/macosx/Resources/Description.plist (from rev 6278, mlton/trunk/package/macosx/Description.plist)




More information about the MLton-commit mailing list