aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJonathan Gray2004-03-29 12:22:03 +0000
committerJonathan Gray2004-03-29 12:22:03 +0000
commit443c7cdb2573be44815167dbc80a9af88b554904 (patch)
tree74111fb25f06ab5a07fd04f6fe57e58c8add542a /Makefile
parent69951579085c3fb18fb26931ba69450df9bebc33 (diff)
downloadscummvm-rg350-443c7cdb2573be44815167dbc80a9af88b554904.tar.gz
scummvm-rg350-443c7cdb2573be44815167dbc80a9af88b554904.tar.bz2
scummvm-rg350-443c7cdb2573be44815167dbc80a9af88b554904.zip
add most of my os x snapshot script as a makefile target
svn-id: r13427
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 454930530e..ac2545c78b 100644
--- a/Makefile
+++ b/Makefile
@@ -113,6 +113,17 @@ scummvm-static: $(OBJS)
$(OSXOPT)/lib/libFLAC.a \
-lz
+# Special target to create a snapshot disk image for Mac OS X
+osxsnap: bundle
+ mkdir ScummVM-snapshot
+ cp README ./ScummVM-snapshot/ScummVM\ ReadMe
+ cp NEWS ./ScummVM-snapshot/News
+ cp COPYING ./ScummVM-snapshot/License
+ /Developer/Tools/SetFile -t TEXT -c ttxt ./ScummVM-snapshot/*
+ /Developer/Tools/CpMac -r $(bundle_name) ./ScummVM-snapshot/
+ hdiutil create -format UDZO -srcfolder ScummVM-snapshot ScummVM-snapshot.dmg
+ rm -rf ScummVM-snapshot
+
# Special target to create a win32 snapshot binary
win32dist: scummvm
mkdir -p $(WIN32PATH)