From 9b9efcc16e2f988b7a2d6f1d97b0ebc8b09be670 Mon Sep 17 00:00:00 2001 From: bjarni Date: Fri, 4 Aug 2006 22:26:44 +0000 Subject: [PATCH] (svn r5759) -Fix: [OSX] fixed issue where the bundle was not build if the data dir contained subdirs (now copies the subdirs as well) -Fix: [OSX] allow subdirs in scenario when using make release (copies the subdirs as well) -Fix: [OSX] removed an outdated line in make release that prevented the creation of the dmg file --- os/macosx/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/os/macosx/Makefile b/os/macosx/Makefile index e782e9b6c4..c788e6def2 100644 --- a/os/macosx/Makefile +++ b/os/macosx/Makefile @@ -123,7 +123,7 @@ BUILD_OSX_BUNDLE: $(TTD) $(OSX_STRIP) $(Q)echo "APPL????" > "$(OSXAPP)"/Contents/PkgInfo $(Q)cp os/macosx/openttd.icns "$(OSXAPP)"/Contents/Resources/openttd.icns $(Q)os/macosx/plistgen.sh "$(OSXAPP)" "$(REV)" - $(Q)cp data/* "$(OSXAPP)"/Contents/Data/ + $(Q)cp -R data/* "$(OSXAPP)"/Contents/Data/ $(Q)cp os/macosx/splash.png "$(OSXAPP)"/Contents/Data/ $(Q)cp lang/*.lng "$(OSXAPP)"/Contents/Lang/ $(Q)cp $(TTD) "$(OSXAPP)"/Contents/MacOS/$(TTD) @@ -141,10 +141,9 @@ release: all $(Q)cp docs/console.txt "OpenTTD $(REV)/docs/" $(Q)cp COPYING "OpenTTD $(REV)/docs/" $(Q)cp changelog.txt "OpenTTD $(REV)/docs/" - $(Q)cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD $(REV)/docs/" $(Q)cp os/macosx/*.webloc "OpenTTD $(REV)" $(Q)cp known-bugs.txt "OpenTTD $(REV)/known-bugs.txt" - $(Q)cp scenario/* "OpenTTD $(REV)/scenario/" + $(Q)cp -R scenario/* "OpenTTD $(REV)/scenario/" $(Q)hdiutil create -ov -format UDZO -srcfolder "OpenTTD $(REV)" openttd-"$(REV)"-osx"$(JAGUAR_POSTFIX)".dmg $(Q)rm -fr "OpenTTD $(REV)"