summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2004-12-07 19:31:24 +0000
committerbjarni <bjarni@openttd.org>2004-12-07 19:31:24 +0000
commit7938c1b884110509dfdfb6888d5f498cc60f24af (patch)
treec679ca580218eb130f0413de01a3e7ed097b3f6c
parent253ec52c014ba43bb7a11119ad031037dce3232d (diff)
downloadopenttd-7938c1b884110509dfdfb6888d5f498cc60f24af.tar.xz
(svn r974) Makefile: fixed issue in make release and nightly_build, which caused failures if RELEASE contained spaces
-rw-r--r--Makefile54
1 files changed, 27 insertions, 27 deletions
diff --git a/Makefile b/Makefile
index 9ca9e3a68..39c06644c 100644
--- a/Makefile
+++ b/Makefile
@@ -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