diff options
author | Max Horn | 2005-11-08 00:18:18 +0000 |
---|---|---|
committer | Max Horn | 2005-11-08 00:18:18 +0000 |
commit | 18b5b7123d5c468f8d3aec839771bb1490f43636 (patch) | |
tree | a7d65d3389da4e08ed436f32ff8f08c0f0bb7757 /Makefile | |
parent | a8172ad6b3a8a8693bef26f7929949ceb6e06d4d (diff) | |
download | scummvm-rg350-18b5b7123d5c468f8d3aec839771bb1490f43636.tar.gz scummvm-rg350-18b5b7123d5c468f8d3aec839771bb1490f43636.tar.bz2 scummvm-rg350-18b5b7123d5c468f8d3aec839771bb1490f43636.zip |
Improved osxsnap target (up to par with my own release build script)
svn-id: r19510
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 22 |
1 files changed, 17 insertions, 5 deletions
@@ -120,16 +120,28 @@ scummvm-static: $(OBJS) $(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 |