equal
deleted
inserted
replaced
789 $(Q)echo "APPL????" > "$(OSXAPP)"/Contents/PkgInfo |
789 $(Q)echo "APPL????" > "$(OSXAPP)"/Contents/PkgInfo |
790 $(Q)cp os/macosx/openttd.icns "$(OSXAPP)"/Contents/Resources/openttd.icns |
790 $(Q)cp os/macosx/openttd.icns "$(OSXAPP)"/Contents/Resources/openttd.icns |
791 $(Q)os/macosx/plistgen.sh "$(OSXAPP)" "$(REV)" |
791 $(Q)os/macosx/plistgen.sh "$(OSXAPP)" "$(REV)" |
792 $(Q)cp os/macosx/track_starter "$(OSXAPP)"/Contents/MacOS |
792 $(Q)cp os/macosx/track_starter "$(OSXAPP)"/Contents/MacOS |
793 $(Q)ls os/macosx | grep -q "\.class" || \ |
793 $(Q)ls os/macosx | grep -q "\.class" || \ |
794 javac os/macosx/openttdmidi.java |
794 javac os/macosx/OpenTTDMidi.java |
795 $(Q)cp os/macosx/OpenTTDMidi.class "$(OSXAPP)"/Contents/MacOS |
795 $(Q)cp os/macosx/OpenTTDMidi.class "$(OSXAPP)"/Contents/MacOS |
796 $(Q)cp data/* "$(OSXAPP)"/Contents/Data/ |
796 $(Q)cp data/* "$(OSXAPP)"/Contents/Data/ |
797 $(Q)cp lang/*.lng "$(OSXAPP)"/Contents/Lang/ |
797 $(Q)cp lang/*.lng "$(OSXAPP)"/Contents/Lang/ |
798 $(Q)cp $(TTD) "$(OSXAPP)"/Contents/MacOS/$(TTD) |
798 $(Q)cp $(TTD) "$(OSXAPP)"/Contents/MacOS/$(TTD) |
799 |
799 |
894 rev.c: FORCE |
894 rev.c: FORCE |
895 @# setting the revision number in a place, there the binary can read it |
895 @# setting the revision number in a place, there the binary can read it |
896 @echo 'const char _openttd_revision[] = "$(REV)";' >>rev.c.new |
896 @echo 'const char _openttd_revision[] = "$(REV)";' >>rev.c.new |
897 @# some additions for MorphOS versions tag |
897 @# some additions for MorphOS versions tag |
898 @echo '#ifdef __MORPHOS__' >>rev.c.new |
898 @echo '#ifdef __MORPHOS__' >>rev.c.new |
899 @echo 'const char morphos_versions_tag[] = "\\0$$VER: OpenTTD $(REV) ('${BUILDDATE}') OpenTTD Team [MorphOS, PowerPC]";' >>rev.c.new |
899 @echo 'const char morphos_versions_tag[] = "\\0$$VER: OpenTTD $(REV) ('${BUILDDATE}') © OpenTTD Team [MorphOS, PowerPC]";' >>rev.c.new |
900 @echo '#endif' >>rev.c.new |
900 @echo '#endif' >>rev.c.new |
901 @# Only update the real rev.c if it actually changed, to prevent |
901 @# Only update the real rev.c if it actually changed, to prevent |
902 @# useless rebuilds. |
902 @# useless rebuilds. |
903 @cmp -s rev.c rev.c.new 2>/dev/null || mv rev.c.new rev.c |
903 @cmp -s rev.c rev.c.new 2>/dev/null || mv rev.c.new rev.c |
904 @rm -f rev.c.new |
904 @rm -f rev.c.new |