Changeset - r4215:80c25b844c42
[Not reviewed]
master
0 1 0
bjarni - 18 years ago 2006-08-04 22:26:44
bjarni@openttd.org
(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
1 file changed with 2 insertions and 3 deletions:
0 comments (0 inline, 0 general)
os/macosx/Makefile
Show inline comments
 
@@ -120,13 +120,13 @@ BUILD_OSX_BUNDLE: $(TTD) $(OSX_STRIP)
 
	$(Q)mkdir -p "$(OSXAPP)"/Contents/Resources
 
	$(Q)mkdir -p "$(OSXAPP)"/Contents/Data
 
	$(Q)mkdir -p "$(OSXAPP)"/Contents/Lang
 
	$(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)
 

	
 
# make the release disk image. Should only be used with releases and is a good and fast way to make sure to remember all the needed files
 
release: all
 
@@ -138,16 +138,15 @@ release: all
 
	$(Q)cp docs/OSX_install_instructions.txt "OpenTTD $(REV)/How to install (please read).txt"
 
	$(Q)cp docs/OSX_why_multiple_applications.txt "OpenTTD $(REV)/why a special Jaguar download.txt"
 
	$(Q)cp readme.txt "OpenTTD $(REV)/docs/"
 
	$(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)"
 

	
 
$(OSX): $(TTD) $(OSX_STRIP) BUILD_OSX_BUNDLE
 

	
 
.PHONY: release BUILD_OSX_BUNDLE
0 comments (0 inline, 0 general)