summaryrefslogtreecommitdiff
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
commit1fcb7b480ed6f95476c9c07adea4f587e2726777 (patch)
tree50295f02e16714fa82e89c5da0a71f2c5fd9e36a
parent1b39fe8502c811fee2faca0ec63a009040d12f18 (diff)
downloadopenttd-1fcb7b480ed6f95476c9c07adea4f587e2726777.tar.xz
(svn r985) Makefile: repaired issue in make release (OSX)
-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