[Scummvm-cvs-logs] CVS: scummvm Makefile,1.105,1.106

Max Horn fingolfin at users.sourceforge.net
Mon Nov 7 16:19:10 CET 2005


Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30921

Modified Files:
	Makefile 
Log Message:
Improved osxsnap target (up to par with my own release build script)

Index: Makefile
===================================================================
RCS file: /cvsroot/scummvm/scummvm/Makefile,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -d -r1.105 -r1.106
--- Makefile	7 Nov 2005 23:52:09 -0000	1.105
+++ Makefile	8 Nov 2005 00:18:18 -0000	1.106
@@ -120,16 +120,28 @@
 		$(OSXOPT)/lib/libFLAC.a \
 		-lz
 
+# Target for building the PDF version of the README
+doc/readme.pdf: doc/readme.tex doc/*.tex
+	cd doc && pdflatex readme.tex 
+	cd doc && pdflatex readme.tex 
+
 # Special target to create a snapshot disk image for Mac OS X
-osxsnap: bundle
+osxsnap: bundle doc/readme.pdf
 	mkdir ScummVM-snapshot
-	cp AUTHORS ./ScummVM-snapshot/ScummVM\ Authors
 	cp COPYING ./ScummVM-snapshot/License
 	cp NEWS ./ScummVM-snapshot/News
-	cp README ./ScummVM-snapshot/ScummVM\ ReadMe
-	/Developer/Tools/SetFile -t TEXT -c ttxt ./ScummVM-snapshot/*
+	/Developer/Tools/SetFile -t ttro -c ttxt ./ScummVM-snapshot/*
+	cp doc/readme.pdf ./ScummVM-snapshot/ScummVM\ ReadMe
+	/Developer/Tools/SetFile -t 'PDF ' -c prvw ./ScummVM-snapshot/ScummVM\ ReadMe
 	/Developer/Tools/CpMac -r $(bundle_name) ./ScummVM-snapshot/
-	hdiutil create -ov -format UDZO -srcfolder ScummVM-snapshot ScummVM-snapshot.dmg
+	cp dists/macosx/DS_Store ./ScummVM-snapshot/.DS_Store
+	cp dists/macosx/background.jpg ./ScummVM-snapshot/background.jpg
+	/Developer/Tools/SetFile -a V ./ScummVM-snapshot/.DS_Store
+	/Developer/Tools/SetFile -a V ./ScummVM-snapshot/background.jpg
+	hdiutil create -ov -format UDZO -imagekey zlib-level=9  \
+					-srcfolder ScummVM-snapshot \
+					-volname "ScummVM snapshot" \
+					ScummVM-snapshot.dmg
 	rm -rf ScummVM-snapshot
 
 # Special target to create a win32 snapshot binary





More information about the Scummvm-git-logs mailing list