diff options
author | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-09-04 22:38:44 +0000 |
---|---|---|
committer | k-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c> | 2008-09-04 22:38:44 +0000 |
commit | 0d59e17338bb4707a94de773e6f44f9a426fdca0 (patch) | |
tree | 25cf50b6ac655c352f44d03a6c5f123e42cbf3b0 | |
parent | 2746d5ab795dc941a3315cd5023f171eb9c7e4f0 (diff) | |
download | usdx-0d59e17338bb4707a94de773e6f44f9a426fdca0.tar.gz usdx-0d59e17338bb4707a94de773e6f44f9a426fdca0.tar.xz usdx-0d59e17338bb4707a94de773e6f44f9a426fdca0.zip |
make macosx-disk-image renamed to make macosx-dmg; new: make macosx-clean removes bundle AND diskimage
git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/trunk@1344 b956fd51-792f-4845-bead-9b4dfca2ff2c
-rw-r--r-- | Makefile.in | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/Makefile.in b/Makefile.in index aec4be35..f48fba24 100644 --- a/Makefile.in +++ b/Makefile.in @@ -132,6 +132,18 @@ distclean: clean clean-game tidy $(RM) $(USDX_SRC_DIR)/config.inc $(RM) Makefile $(USDX_SRC_DIR)/Makefile $(PROJECTM_CWRAPPER_DIR)/Makefile +# remove Mac OS X apllication bundle and disk image +.PHONY: clean-macosx +clean-macosx: clean-macosx-app clean-macosx-dmg + +.PHONY: clean-macosx-app +clean-macosx-app: + $(RM) -r UltraStarDeluxe.app + +.PHONY: clean-macosx-dmg +clean-macosx-dmg: + $(RM) UltraStarDeluxe.dmg + # remove temporary and backup files .PHONY: tidy tidy: @@ -359,13 +371,13 @@ endef @echo "Standalone Mac OS X application created." @echo "" -.PHONY: macosx-disk-image -macosx-disk-image: macosx-standalone-app - $(RM) ultrastardx.dmg +.PHONY: macosx-dmg +macosx-dmg: macosx-standalone-app + $(RM) UltraStarDeluxe.dmg $(HDIUTIL) create -type SPARSE -size 30m -fs HFS+ -volname UltraStarDeluxe -ov -attach UltraStarDeluxe.sparseimage /bin/cp -R UltraStarDeluxe.app /Volumes/UltraStarDeluxe # /bin/cp ultrastardx/icons/UltraStarDeluxeVolumeIcon.icns /Volumes/UltraStarDeluxe/.VolumeIcon.icns # /Developer/Tools/SetFile -a C /Volumes/UltraStarDeluxe/.VolumeIcon.icns /Volumes/UltraStarDeluxe $(HDIUTIL) detach /Volumes/UltraStarDeluxe - $(HDIUTIL) convert UltraStarDeluxe.sparseimage -format UDBZ -o ultrastardx.dmg + $(HDIUTIL) convert UltraStarDeluxe.sparseimage -format UDBZ -o UltraStarDeluxe.dmg $(RM) UltraStarDeluxe.sparseimage |