mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r974) Makefile: fixed issue in make release and nightly_build, which caused failures if RELEASE contained spaces
This commit is contained in:
parent
46e6a08107
commit
948b3747f6
54
Makefile
54
Makefile
@ -663,35 +663,35 @@ winres.o: ttd.rc
|
|||||||
|
|
||||||
ifdef OSX
|
ifdef OSX
|
||||||
release: all
|
release: all
|
||||||
@mkdir -p OpenTTD\ $(RELEASE)
|
@mkdir -p "OpenTTD $(RELEASE)"
|
||||||
@mkdir -p OpenTTD\ $(RELEASE)/docs
|
@mkdir -p "OpenTTD $(RELEASE)"/docs
|
||||||
@cp -R $(OSXAPP) OpenTTD\ $(RELEASE)/
|
@cp -R $(OSXAPP) "OpenTTD $(RELEASE)"/
|
||||||
@cp docs/OSX_where_did_the_package_go.txt OpenTTD\ $(RELEASE)/Where\ did\ the\ package\ go.txt
|
@cp docs/OSX_where_did_the_package_go.txt "OpenTTD $(RELEASE)"/Where\ did\ the\ package\ go.txt
|
||||||
@cp readme.txt OpenTTD\ $(RELEASE)/docs/
|
@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/README_if_game_crashed_on_OSX.txt "OpenTTD $(RELEASE)"/docs/readme\ if\ crashed\ on\ OSX.txt
|
||||||
@cp docs/console.txt OpenTTD\ $(RELEASE)/docs/
|
@cp docs/console.txt "OpenTTD $(RELEASE)"/docs/
|
||||||
@cp COPYING OpenTTD\ $(RELEASE)/docs/
|
@cp COPYING "OpenTTD $(RELEASE)"/docs/
|
||||||
@cp changelog.txt OpenTTD\ $(RELEASE)/docs/
|
@cp changelog.txt "OpenTTD $(RELEASE)"/docs/
|
||||||
@cp docs/README_if_game_crashed_on_OSX.txt OpenTTD\ $(RELEASE)/docs/
|
@cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD $(RELEASE)"/docs/
|
||||||
@cp os/macos/*.webloc OpenTTD\ $(RELEASE)/
|
@cp os/macos/*.webloc "OpenTTD $(RELEASE)"
|
||||||
@hdiutil create -ov -format UDZO -srcfolder OpenTTD\ $(RELEASE) openttd-$(RELEASE)-osx.dmg
|
@hdiutil create -ov -format UDZO -srcfolder "OpenTTD $(RELEASE)" openttd-"$(RELEASE)"-osx.dmg
|
||||||
@rm -fr OpenTTD\ $(RELEASE)
|
@rm -fr "OpenTTD $(RELEASE)"
|
||||||
|
|
||||||
nightly_build: all
|
nightly_build: all
|
||||||
@mkdir -p OpenTTD\ $(RELEASE)
|
@mkdir -p "OpenTTD $(RELEASE)"
|
||||||
@mkdir -p OpenTTD\ $(RELEASE)/docs
|
@mkdir -p "OpenTTD $(RELEASE)"/docs
|
||||||
@cp -R $(OSXAPP) OpenTTD\ $(RELEASE)/
|
@cp -R $(OSXAPP) "OpenTTD $(RELEASE)"/
|
||||||
@cp docs/OSX_where_did_the_package_go.txt OpenTTD\ $(RELEASE)/Where\ did\ the\ package\ go.txt
|
@cp docs/OSX_where_did_the_package_go.txt "OpenTTD $(RELEASE)"/Where\ did\ the\ package\ go.txt
|
||||||
@cp readme.txt OpenTTD\ $(RELEASE)/docs/
|
@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/README_if_game_crashed_on_OSX.txt "OpenTTD $(RELEASE)"/docs/readme\ if\ crashed\ on\ OSX.txt
|
||||||
@cp docs/console.txt OpenTTD\ $(RELEASE)/docs/
|
@cp docs/console.txt "OpenTTD $(RELEASE)"/docs/
|
||||||
@cp COPYING OpenTTD\ $(RELEASE)/docs/
|
@cp COPYING "OpenTTD $(RELEASE)"/docs/
|
||||||
@cp revisionlog.txt OpenTTD\ $(RELEASE)/revisionlog.txt
|
@cp revisionlog.txt "OpenTTD $(RELEASE)"/revisionlog.txt
|
||||||
@cp changelog.txt OpenTTD\ $(RELEASE)/docs/
|
@cp changelog.txt "OpenTTD $(RELEASE)"/docs/
|
||||||
@cp docs/README_if_game_crashed_on_OSX.txt OpenTTD\ $(RELEASE)/docs/
|
@cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD $(RELEASE)"/docs/
|
||||||
@cp os/macos/*.webloc OpenTTD\ $(RELEASE)/
|
@cp os/macos/*.webloc "OpenTTD $(RELEASE)"/
|
||||||
@hdiutil create -ov -format UDZO -srcfolder OpenTTD\ $(RELEASE) openttd-$(RELEASE).dmg
|
@hdiutil create -ov -format UDZO -srcfolder "OpenTTD $(RELEASE)" openttd-"$(RELEASE)".dmg
|
||||||
@rm -fr OpenTTD\ $(RELEASE)
|
@rm -fr "OpenTTD $(RELEASE)"
|
||||||
|
|
||||||
.PHONY: release nightly_build
|
.PHONY: release nightly_build
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user