diff options
author | bjarni <bjarni@openttd.org> | 2004-12-07 19:31:24 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2004-12-07 19:31:24 +0000 |
commit | 7938c1b884110509dfdfb6888d5f498cc60f24af (patch) | |
tree | c679ca580218eb130f0413de01a3e7ed097b3f6c | |
parent | 253ec52c014ba43bb7a11119ad031037dce3232d (diff) | |
download | openttd-7938c1b884110509dfdfb6888d5f498cc60f24af.tar.xz |
(svn r974) Makefile: fixed issue in make release and nightly_build, which caused failures if RELEASE contained spaces
-rw-r--r-- | Makefile | 54 |
1 files changed, 27 insertions, 27 deletions
@@ -663,35 +663,35 @@ winres.o: ttd.rc ifdef OSX release: all - @mkdir -p OpenTTD\ $(RELEASE) - @mkdir -p OpenTTD\ $(RELEASE)/docs - @cp -R $(OSXAPP) OpenTTD\ $(RELEASE)/ - @cp docs/OSX_where_did_the_package_go.txt OpenTTD\ $(RELEASE)/Where\ did\ the\ package\ go.txt - @cp readme.txt OpenTTD\ $(RELEASE)/docs/ - @cp docs/README_if_game_crashed_on_OSX.txt OpenTTD\ $(RELEASE)/docs/readme\ if\ crashed\ on\ OSX.txt - @cp docs/console.txt OpenTTD\ $(RELEASE)/docs/ - @cp COPYING OpenTTD\ $(RELEASE)/docs/ - @cp changelog.txt OpenTTD\ $(RELEASE)/docs/ - @cp docs/README_if_game_crashed_on_OSX.txt OpenTTD\ $(RELEASE)/docs/ - @cp os/macos/*.webloc OpenTTD\ $(RELEASE)/ - @hdiutil create -ov -format UDZO -srcfolder OpenTTD\ $(RELEASE) openttd-$(RELEASE)-osx.dmg - @rm -fr OpenTTD\ $(RELEASE) + @mkdir -p "OpenTTD $(RELEASE)" + @mkdir -p "OpenTTD $(RELEASE)"/docs + @cp -R $(OSXAPP) "OpenTTD $(RELEASE)"/ + @cp docs/OSX_where_did_the_package_go.txt "OpenTTD $(RELEASE)"/Where\ did\ the\ package\ go.txt + @cp readme.txt "OpenTTD $(RELEASE)"/docs/ + @cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD $(RELEASE)"/docs/readme\ if\ crashed\ on\ OSX.txt + @cp docs/console.txt "OpenTTD $(RELEASE)"/docs/ + @cp COPYING "OpenTTD $(RELEASE)"/docs/ + @cp changelog.txt "OpenTTD $(RELEASE)"/docs/ + @cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD $(RELEASE)"/docs/ + @cp os/macos/*.webloc "OpenTTD $(RELEASE)" + @hdiutil create -ov -format UDZO -srcfolder "OpenTTD $(RELEASE)" openttd-"$(RELEASE)"-osx.dmg + @rm -fr "OpenTTD $(RELEASE)" nightly_build: all - @mkdir -p OpenTTD\ $(RELEASE) - @mkdir -p OpenTTD\ $(RELEASE)/docs - @cp -R $(OSXAPP) OpenTTD\ $(RELEASE)/ - @cp docs/OSX_where_did_the_package_go.txt OpenTTD\ $(RELEASE)/Where\ did\ the\ package\ go.txt - @cp readme.txt OpenTTD\ $(RELEASE)/docs/ - @cp docs/README_if_game_crashed_on_OSX.txt OpenTTD\ $(RELEASE)/docs/readme\ if\ crashed\ on\ OSX.txt - @cp docs/console.txt OpenTTD\ $(RELEASE)/docs/ - @cp COPYING OpenTTD\ $(RELEASE)/docs/ - @cp revisionlog.txt OpenTTD\ $(RELEASE)/revisionlog.txt - @cp changelog.txt OpenTTD\ $(RELEASE)/docs/ - @cp docs/README_if_game_crashed_on_OSX.txt OpenTTD\ $(RELEASE)/docs/ - @cp os/macos/*.webloc OpenTTD\ $(RELEASE)/ - @hdiutil create -ov -format UDZO -srcfolder OpenTTD\ $(RELEASE) openttd-$(RELEASE).dmg - @rm -fr OpenTTD\ $(RELEASE) + @mkdir -p "OpenTTD $(RELEASE)" + @mkdir -p "OpenTTD $(RELEASE)"/docs + @cp -R $(OSXAPP) "OpenTTD $(RELEASE)"/ + @cp docs/OSX_where_did_the_package_go.txt "OpenTTD $(RELEASE)"/Where\ did\ the\ package\ go.txt + @cp readme.txt "OpenTTD $(RELEASE)"/docs/ + @cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD $(RELEASE)"/docs/readme\ if\ crashed\ on\ OSX.txt + @cp docs/console.txt "OpenTTD $(RELEASE)"/docs/ + @cp COPYING "OpenTTD $(RELEASE)"/docs/ + @cp revisionlog.txt "OpenTTD $(RELEASE)"/revisionlog.txt + @cp changelog.txt "OpenTTD $(RELEASE)"/docs/ + @cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD $(RELEASE)"/docs/ + @cp os/macos/*.webloc "OpenTTD $(RELEASE)"/ + @hdiutil create -ov -format UDZO -srcfolder "OpenTTD $(RELEASE)" openttd-"$(RELEASE)".dmg + @rm -fr "OpenTTD $(RELEASE)" .PHONY: release nightly_build endif |