[Scummvm-cvs-logs] CVS: scummvm Makefile,1.104.2.1,1.104.2.2
Max Horn
fingolfin at users.sourceforge.net
Mon Nov 7 16:19:03 CET 2005
Update of /cvsroot/scummvm/scummvm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30960
Modified Files:
Tag: branch-0-8-0
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.104.2.1
retrieving revision 1.104.2.2
diff -u -d -r1.104.2.1 -r1.104.2.2
--- Makefile 7 Nov 2005 23:55:36 -0000 1.104.2.1
+++ Makefile 8 Nov 2005 00:18:22 -0000 1.104.2.2
@@ -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