aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authork-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-09-04 22:38:44 +0000
committerk-m_schindler <k-m_schindler@b956fd51-792f-4845-bead-9b4dfca2ff2c>2008-09-04 22:38:44 +0000
commit0d59e17338bb4707a94de773e6f44f9a426fdca0 (patch)
tree25cf50b6ac655c352f44d03a6c5f123e42cbf3b0
parent2746d5ab795dc941a3315cd5023f171eb9c7e4f0 (diff)
downloadusdx-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
Diffstat (limited to '')
-rw-r--r--Makefile.in20
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