summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2004-12-07 18:17:41 +0000
committerbjarni <bjarni@openttd.org>2004-12-07 18:17:41 +0000
commit253ec52c014ba43bb7a11119ad031037dce3232d (patch)
treecfad05093aaaa8fe5e7b66fea39765cdff67c266 /Makefile
parent701e58e15792e76f7ab9f0349d71a266a5d1086e (diff)
downloadopenttd-253ec52c014ba43bb7a11119ad031037dce3232d.tar.xz
(svn r973) Makefile: added make nightly_build (only on mac)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 17 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 418327d7a..9ca9e3a68 100644
--- a/Makefile
+++ b/Makefile
@@ -677,7 +677,23 @@ release: all
@hdiutil create -ov -format UDZO -srcfolder OpenTTD\ $(RELEASE) openttd-$(RELEASE)-osx.dmg
@rm -fr OpenTTD\ $(RELEASE)
-.PHONY: 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)
+
+.PHONY: release nightly_build
endif
rev.c: FORCE