Makefile
changeset 1148 c7ffa9f5adc1
parent 1146 9561b9668dc6
child 1158 bcca61b472ea
equal deleted inserted replaced
1147:786d631229d8 1148:c7ffa9f5adc1
   111 
   111 
   112 ##############################################################################
   112 ##############################################################################
   113 #
   113 #
   114 # Configuration
   114 # Configuration
   115 #
   115 #
       
   116 
       
   117 ifndef RELEASE
       
   118 RELEASE:=0.3.6
       
   119 endif
   116 
   120 
   117 # Makefile version tag
   121 # Makefile version tag
   118 # it checks if the version tag in makefile.config is the same and force update outdated config files
   122 # it checks if the version tag in makefile.config is the same and force update outdated config files
   119 MAKEFILE_VERSION:=6
   123 MAKEFILE_VERSION:=6
   120 
   124 
   773 	@cp lang/*.lng                     "/t/openttd-$(RELEASE)-morphos/lang/"
   777 	@cp lang/*.lng                     "/t/openttd-$(RELEASE)-morphos/lang/"
   774 	@cp readme.txt                     "/t/openttd-$(RELEASE)-morphos/docs/ReadMe"
   778 	@cp readme.txt                     "/t/openttd-$(RELEASE)-morphos/docs/ReadMe"
   775 	@cp docs/console.txt               "/t/openttd-$(RELEASE)-morphos/docs/Console"
   779 	@cp docs/console.txt               "/t/openttd-$(RELEASE)-morphos/docs/Console"
   776 	@cp COPYING                        "/t/openttd-$(RELEASE)-morphos/docs/"
   780 	@cp COPYING                        "/t/openttd-$(RELEASE)-morphos/docs/"
   777 	@cp changelog.txt                  "/t/openttd-$(RELEASE)-morphos/docs/ChangeLog"
   781 	@cp changelog.txt                  "/t/openttd-$(RELEASE)-morphos/docs/ChangeLog"
       
   782 	@cp known-bugs.txt				   "/t/openttd-$(RELEASE)-morphos/docs/known-bugs.txt"
   778 	@cp os/morphos/icons/openttd.info  "/t/openttd-$(RELEASE)-morphos/$(TTD).info"
   783 	@cp os/morphos/icons/openttd.info  "/t/openttd-$(RELEASE)-morphos/$(TTD).info"
   779 	@cp os/morphos/icons/docs.info     "/t/openttd-$(RELEASE)-morphos/docs.info"
   784 	@cp os/morphos/icons/docs.info     "/t/openttd-$(RELEASE)-morphos/docs.info"
   780 	@cp os/morphos/icons/drawer.info   "/t/openttd-$(RELEASE)-morphos.info"
   785 	@cp os/morphos/icons/drawer.info   "/t/openttd-$(RELEASE)-morphos.info"
   781 	@cp os/morphos/icons/document.info "/t/openttd-$(RELEASE)-morphos/docs/ReadMe.info"
   786 	@cp os/morphos/icons/document.info "/t/openttd-$(RELEASE)-morphos/docs/ReadMe.info"
   782 	@cp os/morphos/icons/document.info "/t/openttd-$(RELEASE)-morphos/docs/Console.info"
   787 	@cp os/morphos/icons/document.info "/t/openttd-$(RELEASE)-morphos/docs/Console.info"
   803 	@cp docs/console.txt "OpenTTD $(RELEASE)"/docs/
   808 	@cp docs/console.txt "OpenTTD $(RELEASE)"/docs/
   804 	@cp COPYING "OpenTTD $(RELEASE)"/docs/
   809 	@cp COPYING "OpenTTD $(RELEASE)"/docs/
   805 	@cp changelog.txt "OpenTTD $(RELEASE)"/docs/
   810 	@cp changelog.txt "OpenTTD $(RELEASE)"/docs/
   806 	@cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD $(RELEASE)"/docs/
   811 	@cp docs/README_if_game_crashed_on_OSX.txt "OpenTTD $(RELEASE)"/docs/
   807 	@cp os/macos/*.webloc "OpenTTD $(RELEASE)"
   812 	@cp os/macos/*.webloc "OpenTTD $(RELEASE)"
       
   813 	@cp known-bugs.txt "OpenTTD $(RELEASE)"/known-bugs.txt
   808 	@/usr/bin/hdiutil create -ov -format UDZO -srcfolder "OpenTTD $(RELEASE)" openttd-"$(RELEASE)"-osx.dmg
   814 	@/usr/bin/hdiutil create -ov -format UDZO -srcfolder "OpenTTD $(RELEASE)" openttd-"$(RELEASE)"-osx.dmg
   809 	@rm -fr "OpenTTD $(RELEASE)"
   815 	@rm -fr "OpenTTD $(RELEASE)"
   810 
   816 
   811 nightly_build: all
   817 nightly_build: all
   812 	@mkdir -p "OpenTTD_nightly_$(DATE)"
   818 	@mkdir -p "OpenTTD_nightly_$(DATE)"