Author: tom
Date: Fri Sep 26 15:15:25 2008
New Revision: 3001

URL: http://svn.slimdevices.com?rev=3001&root=Jive&view=rev
Log:
for mac make dmg disk image for SqueezePlay

Modified:
    7.3/trunk/squeezeplay/src/Makefile.osx
    7.3/trunk/squeezeplay/src/squeezeplay/Makefile.am
    7.3/trunk/squeezeplay/src/squeezeplay/Makefile.in

Modified: 7.3/trunk/squeezeplay/src/Makefile.osx
URL: 
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/Makefile.osx?rev=3001&root=Jive&r1=3000&r2=3001&view=diff
==============================================================================
--- 7.3/trunk/squeezeplay/src/Makefile.osx (original)
+++ 7.3/trunk/squeezeplay/src/Makefile.osx Fri Sep 26 15:15:25 2008
@@ -214,7 +214,7 @@
 
 squeezeplay: squeezeplay/Makefile
        export PATH=$(BUILD_TOP)/bin:$(PATH); \
-       cd squeezeplay; make && make install && make SqueezePlay_bundle
+       cd squeezeplay; make && make install && make SqueezePlay_dmg
 
 squeezeplay_desktop/Makefile:
        cd squeezeplay_desktop; SDL_CONFIG=${SDL_CONFIG} ./configure 
--prefix=${PREFIX}

Modified: 7.3/trunk/squeezeplay/src/squeezeplay/Makefile.am
URL: 
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/Makefile.am?rev=3001&root=Jive&r1=3000&r2=3001&view=diff
==============================================================================
--- 7.3/trunk/squeezeplay/src/squeezeplay/Makefile.am (original)
+++ 7.3/trunk/squeezeplay/src/squeezeplay/Makefile.am Fri Sep 26 15:15:25 2008
@@ -54,6 +54,7 @@
 
 VERSION_TEXT = $(shell cat ../squeezeplay.version)r$(shell svnversion -n 
..|sed "s/M$$//g")
 ICNS_NAME = icon.icns
+DMG_DIR = SqueezePlay_dmg
 
 #todo: make clean work the right way(not the rm -rf hackery seen below)
 SqueezePlay_bundle: SqueezePlay
@@ -97,6 +98,12 @@
        chmod 644 $(BUNDLE_CONTENTS)/Resources/*
        $(INSTALL_PROGRAM) $(JIVE_STATIC_PROGRAM) $(BUNDLE_CONTENTS)/MacOS/
        cp -Rp $(BUNDLE_NAME) $(OSX_BUILD_DIR)
+
+SqueezePlay_dmg: SqueezePlay_bundle
+       mkdir -p $(DMG_DIR)
+       /Developer/Tools/CpMac -r $(BUNDLE_NAME) ./$(DMG_DIR)/
+       hdiutil create -srcfolder $(DMG_DIR) $(OSX_BUILD_DIR)/SqueezePlay.dmg
+       rm -rf $(DMG_DIR)
 
 
 # Convenience library:

Modified: 7.3/trunk/squeezeplay/src/squeezeplay/Makefile.in
URL: 
http://svn.slimdevices.com/7.3/trunk/squeezeplay/src/squeezeplay/Makefile.in?rev=3001&root=Jive&r1=3000&r2=3001&view=diff
==============================================================================
--- 7.3/trunk/squeezeplay/src/squeezeplay/Makefile.in (original)
+++ 7.3/trunk/squeezeplay/src/squeezeplay/Makefile.in Fri Sep 26 15:15:25 2008
@@ -384,6 +384,7 @@
 PLIST_FILE = $(BUNDLE_CONTENTS)/Info.plist
 VERSION_TEXT = $(shell cat ../squeezeplay.version)r$(shell svnversion -n 
..|sed "s/M$$//g")
 ICNS_NAME = icon.icns
+DMG_DIR = SqueezePlay_dmg
 
 # Convenience library:
 noinst_LTLIBRARIES = libjiveui.la libjiveaudio.la libjivenet.la
@@ -2498,6 +2499,12 @@
        $(INSTALL_PROGRAM) $(JIVE_STATIC_PROGRAM) $(BUNDLE_CONTENTS)/MacOS/
        cp -Rp $(BUNDLE_NAME) $(OSX_BUILD_DIR)
 
+SqueezePlay_dmg: SqueezePlay_bundle
+       mkdir -p $(DMG_DIR)
+       /Developer/Tools/CpMac -r $(BUNDLE_NAME) ./$(DMG_DIR)/
+       hdiutil create -srcfolder $(DMG_DIR) $(OSX_BUILD_DIR)/SqueezePlay.dmg
+       rm -rf $(DMG_DIR)
+
 src/version.h: FORCE
        @echo '/* This file is automatically generated */' > src/version.h
        @echo '#ifndef SQUEEZEPLAY_RELEASE' >> src/version.h

_______________________________________________
Jive-checkins mailing list
[email protected]
http://lists.slimdevices.com/cgi-bin/mailman/listinfo/jive-checkins

Reply via email to