summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-04-24 12:47:09 +0000
committertruelight <truelight@openttd.org>2005-04-24 12:47:09 +0000
commit176c155193f11788e473cb09ad5cc56313949fc4 (patch)
treee68cde56c0f1d99803bf541e815aa7648046065b
parent566df8dc655995fba246fc4373bb8fc5e7ddd6bb (diff)
downloadopenttd-176c155193f11788e473cb09ad5cc56313949fc4.tar.xz
(svn r2224) -Fix: capital-correctness for OSX-dir-names
-rw-r--r--Makefile14
-rwxr-xr-xos/macosx/plistgen.sh2
2 files changed, 8 insertions, 8 deletions
diff --git a/Makefile b/Makefile
index 37dde7168..ac865d757 100644
--- a/Makefile
+++ b/Makefile
@@ -496,13 +496,13 @@ endif
# MIDI setup
ifdef OSX
ifndef MIDI
-MIDI:=$(OSXAPP)/contents/macosx/track_starter
+MIDI:=$(OSXAPP)/Contents/macosx/track_starter
endif
ifndef SECOND_DATA_PATH
-SECOND_DATA_PATH:="$(OSXAPP)/contents/data/"
+SECOND_DATA_PATH:="$(OSXAPP)/Contents/Data/"
endif
ifndef CUSTOM_LANG_DIR
-CUSTOM_LANG_DIR:="$(OSXAPP)/contents/lang/"
+CUSTOM_LANG_DIR:="$(OSXAPP)/Contents/Lang/"
endif
endif
@@ -800,12 +800,12 @@ $(OSX): $(TTD)
$(Q)echo "APPL????" > "$(OSXAPP)"/Contents/PkgInfo
$(Q)cp os/macosx/openttd.icns "$(OSXAPP)"/Contents/Resources/openttd.icns
$(Q)os/macosx/plistgen.sh "$(OSXAPP)" "$(REV)"
- $(Q)cp os/macosx/track_starter "$(OSXAPP)"/contents/macos
+ $(Q)cp os/macosx/track_starter "$(OSXAPP)"/Contents/macos
$(Q)ls os/macosx | grep -q "\.class" || \
javac os/macosx/OpenTTDMidi.java
- $(Q)cp os/macosx/OpenTTDMidi.class "$(OSXAPP)"/contents/macos
- $(Q)cp data/* "$(OSXAPP)"/Contents/data/
- $(Q)cp lang/*.lng "$(OSXAPP)"/Contents/lang/
+ $(Q)cp os/macosx/OpenTTDMidi.class "$(OSXAPP)"/Contents/macos
+ $(Q)cp data/* "$(OSXAPP)"/Contents/Data/
+ $(Q)cp lang/*.lng "$(OSXAPP)"/Contents/Lang/
$(Q)cp $(TTD) "$(OSXAPP)"/Contents/MacOS/$(TTD)
$(endwarnings): $(64_bit_warnings)
diff --git a/os/macosx/plistgen.sh b/os/macosx/plistgen.sh
index 0968f8dc7..237901eb8 100755
--- a/os/macosx/plistgen.sh
+++ b/os/macosx/plistgen.sh
@@ -43,4 +43,4 @@ echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<key>NSPrincipalClass</key>
<string>NSApplication</string>
</dict>
-</plist>" > "$1"/contents/Info.plist
+</plist>" > "$1"/Contents/Info.plist