summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2007-10-21 11:38:16 +0000
committerbjarni <bjarni@openttd.org>2007-10-21 11:38:16 +0000
commit5fc42e055f95800aafa85b9aa5ce647f15333dd4 (patch)
tree41f36c455a995eb939272dd43d8c03410f320c95
parentd5874fb1863d33b5fbec5273b3c69c25e7fdb7d6 (diff)
downloadopenttd-5fc42e055f95800aafa85b9aa5ce647f15333dd4.tar.xz
(svn r11327) -Fix (r7262): [OSX] make bundle_dmg once again names the mounted dmg "OpenTTD rev" (instead of just "bundle")
-rw-r--r--Makefile.in5
1 files changed, 4 insertions, 1 deletions
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: