From d1536c8f09ed817f0ef9a1c6f0fea1af4b2a9ccf Mon Sep 17 00:00:00 2001 From: bjarni Date: Mon, 24 Jan 2005 21:39:16 +0000 Subject: [PATCH] (svn r1649) Makefile: added known-bugs.txt to mac and MorphOS release scripts and made a really dirty hack to force 0.3.6 on binary files compiled with this makefile --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Makefile b/Makefile index f58c49b3f7..b3f549c4d8 100644 --- a/Makefile +++ b/Makefile @@ -114,6 +114,10 @@ # Configuration # +ifndef RELEASE +RELEASE:=0.3.6 +endif + # Makefile version tag # it checks if the version tag in makefile.config is the same and force update outdated config files MAKEFILE_VERSION:=6 @@ -775,6 +779,7 @@ release: all @cp docs/console.txt "/t/openttd-$(RELEASE)-morphos/docs/Console" @cp COPYING "/t/openttd-$(RELEASE)-morphos/docs/" @cp changelog.txt "/t/openttd-$(RELEASE)-morphos/docs/ChangeLog" + @cp known-bugs.txt "/t/openttd-$(RELEASE)-morphos/docs/known-bugs.txt" @cp os/morphos/icons/openttd.info "/t/openttd-$(RELEASE)-morphos/$(TTD).info" @cp os/morphos/icons/docs.info "/t/openttd-$(RELEASE)-morphos/docs.info" @cp os/morphos/icons/drawer.info "/t/openttd-$(RELEASE)-morphos.info" @@ -805,6 +810,7 @@ release: all @cp changelog.txt "OpenTTD $(RELEASE)"/docs/ @cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD $(RELEASE)"/docs/ @cp os/macos/*.webloc "OpenTTD $(RELEASE)" + @cp known-bugs.txt "OpenTTD $(RELEASE)"/known-bugs.txt @/usr/bin/hdiutil create -ov -format UDZO -srcfolder "OpenTTD $(RELEASE)" openttd-"$(RELEASE)"-osx.dmg @rm -fr "OpenTTD $(RELEASE)"