summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2004-12-08 19:33:44 +0000
committerbjarni <bjarni@openttd.org>2004-12-08 19:33:44 +0000
commit9ec6e0a5019e1f143eca4a852074b132983dbb50 (patch)
tree50295f02e16714fa82e89c5da0a71f2c5fd9e36a /Makefile
parent22951f5523678137d35d0f9c68733b9a05117c49 (diff)
downloadopenttd-9ec6e0a5019e1f143eca4a852074b132983dbb50.tar.xz
(svn r985) Makefile: repaired issue in make release (OSX)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile27
1 files changed, 13 insertions, 14 deletions
diff --git a/Makefile b/Makefile
index ef5a1b831..572496e07 100644
--- a/Makefile
+++ b/Makefile
@@ -678,20 +678,19 @@ release: all
@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_nightly_$(DATE)"
+ @mkdir -p "OpenTTD_nightly_$(DATE)"/docs
+ @cp -R $(OSXAPP) "OpenTTD_nightly_$(DATE)"/
+ @cp docs/OSX_where_did_the_package_go.txt "OpenTTD_nightly_$(DATE)"/Where\ did\ the\ package\ go.txt
+ @cp readme.txt "OpenTTD_nightly_$(DATE)"/docs/
+ @cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD_nightly_$(DATE)"/docs/readme\ if\ crashed\ on\ OSX.txt
+ @cp docs/console.txt "OpenTTD_nightly_$(DATE)"/docs/
+ @cp COPYING "OpenTTD_nightly_$(DATE)"/docs/
+ @cp revisionlog.txt "OpenTTD_nightly_$(DATE)"/revisionlog.txt
+ @cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD_nightly_$(DATE)"/docs/
+ @cp os/macos/*.webloc "OpenTTD_nightly_$(DATE)"/
+ @hdiutil create -ov -format UDZO -srcfolder "OpenTTD_nightly_$(DATE)" openttd-nightly-"$(DATE)".dmg
+ @rm -fr "OpenTTD_nightly_$(DATE)"
.PHONY: release nightly_build
endif