From 5fc42e055f95800aafa85b9aa5ce647f15333dd4 Mon Sep 17 00:00:00 2001 From: bjarni Date: Sun, 21 Oct 2007 11:38:16 +0000 Subject: (svn r11327) -Fix (r7262): [OSX] make bundle_dmg once again names the mounted dmg "OpenTTD rev" (instead of just "bundle") --- Makefile.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile.in') diff --git a/Makefile.in b/Makefile.in index bef6b502a..d395fa196 100644 --- a/Makefile.in +++ b/Makefile.in @@ -250,7 +250,10 @@ bundle_lha: bundle bundle_dmg: bundle @echo '[BUNDLE] Creating $(BUNDLE_NAME).dmg' $(Q)mkdir -p "$(BUNDLES_DIR)" - $(Q)hdiutil create -ov -format UDZO -srcfolder "$(BUNDLE_DIR)" "$(BUNDLES_DIR)/$(BUNDLE_NAME).dmg" + $(Q)mkdir -p "$(BUNDLES_DIR)/OpenTTD $(REV)" + $(Q)cp -R "$(BUNDLE_DIR)/" "$(BUNDLES_DIR)/OpenTTD $(REV)" + $(Q)hdiutil create -ov -format UDZO -srcfolder "$(BUNDLES_DIR)/OpenTTD $(REV)" "$(BUNDLES_DIR)/$(BUNDLE_NAME).dmg" + $(Q)rm -fr "$(BUNDLES_DIR)/OpenTTD $(REV)" ifdef OSXAPP install: -- cgit v1.2.3-70-g09d2