675 @cp docs/README_if_game_crashed_on_OSX.txt OpenTTD\ $(RELEASE)/docs/ |
675 @cp docs/README_if_game_crashed_on_OSX.txt OpenTTD\ $(RELEASE)/docs/ |
676 @cp os/macos/*.webloc OpenTTD\ $(RELEASE)/ |
676 @cp os/macos/*.webloc OpenTTD\ $(RELEASE)/ |
677 @hdiutil create -ov -format UDZO -srcfolder OpenTTD\ $(RELEASE) openttd-$(RELEASE)-osx.dmg |
677 @hdiutil create -ov -format UDZO -srcfolder OpenTTD\ $(RELEASE) openttd-$(RELEASE)-osx.dmg |
678 @rm -fr OpenTTD\ $(RELEASE) |
678 @rm -fr OpenTTD\ $(RELEASE) |
679 |
679 |
680 .PHONY: release |
680 nightly_build: all |
|
681 @mkdir -p OpenTTD\ $(RELEASE) |
|
682 @mkdir -p OpenTTD\ $(RELEASE)/docs |
|
683 @cp -R $(OSXAPP) OpenTTD\ $(RELEASE)/ |
|
684 @cp docs/OSX_where_did_the_package_go.txt OpenTTD\ $(RELEASE)/Where\ did\ the\ package\ go.txt |
|
685 @cp readme.txt OpenTTD\ $(RELEASE)/docs/ |
|
686 @cp docs/README_if_game_crashed_on_OSX.txt OpenTTD\ $(RELEASE)/docs/readme\ if\ crashed\ on\ OSX.txt |
|
687 @cp docs/console.txt OpenTTD\ $(RELEASE)/docs/ |
|
688 @cp COPYING OpenTTD\ $(RELEASE)/docs/ |
|
689 @cp revisionlog.txt OpenTTD\ $(RELEASE)/revisionlog.txt |
|
690 @cp changelog.txt OpenTTD\ $(RELEASE)/docs/ |
|
691 @cp docs/README_if_game_crashed_on_OSX.txt OpenTTD\ $(RELEASE)/docs/ |
|
692 @cp os/macos/*.webloc OpenTTD\ $(RELEASE)/ |
|
693 @hdiutil create -ov -format UDZO -srcfolder OpenTTD\ $(RELEASE) openttd-$(RELEASE).dmg |
|
694 @rm -fr OpenTTD\ $(RELEASE) |
|
695 |
|
696 .PHONY: release nightly_build |
681 endif |
697 endif |
682 |
698 |
683 rev.c: FORCE |
699 rev.c: FORCE |
684 @# setting the revision number in a place, there the binary can read it |
700 @# setting the revision number in a place, there the binary can read it |
685 @echo 'const char _openttd_revision[] = "'$(REV)'";' >>rev.c.new |
701 @echo 'const char _openttd_revision[] = "'$(REV)'";' >>rev.c.new |