|
@@ -116,19 +116,21 @@ targets: $(TARGETS)
|
116
|
116
|
|
117
|
117
|
bundle: release
|
118
|
118
|
mkdir -p bin/OpenRaider.app/Contents/MacOS
|
119
|
|
- mkdir -p bin/OpenRaider.app/Contents/Resources
|
|
119
|
+ mkdir -p bin/OpenRaider.app/Contents/Resources/defaults
|
120
|
120
|
mkdir -p bin/OpenRaider.app/Contents/Frameworks
|
121
|
121
|
cp mac_dist/Info.plist bin/OpenRaider.app/Contents/Info.plist
|
122
|
122
|
cp mac_dist/openraider.icns bin/OpenRaider.app/Contents/Resources/openraider.icns
|
123
|
|
- cp bin/release/OpenRaider bin/OpenRaider.app/Contents/MacOS/OpenRaider
|
|
123
|
+ cp mac_dist/OpenRaider bin/OpenRaider.app/Contents/MacOS/OpenRaider
|
|
124
|
+ cp bin/release/OpenRaider bin/OpenRaider.app/Contents/MacOS/OpenRaider-bin
|
|
125
|
+ cp data/* bin/OpenRaider.app/Contents/Resources/defaults/
|
124
|
126
|
cp /opt/local/lib/libalut.0.1.0.dylib bin/OpenRaider.app/Contents/Frameworks/libalut.0.1.0.dylib
|
125
|
127
|
cp /opt/local/lib/libSDL_ttf-2.0.0.dylib bin/OpenRaider.app/Contents/Frameworks/libSDL_ttf-2.0.0.dylib
|
126
|
128
|
cp /opt/local/lib/libz.1.dylib bin/OpenRaider.app/Contents/Frameworks/libz.1.dylib
|
127
|
129
|
cp /opt/local/lib/libSDL-1.2.0.dylib bin/OpenRaider.app/Contents/Frameworks/libSDL-1.2.0.dylib
|
128
|
|
- install_name_tool -change /opt/local/lib/libalut.0.1.0.dylib @executable_path/../Frameworks/libalut.0.1.0.dylib bin/OpenRaider.app/Contents/MacOS/OpenRaider
|
129
|
|
- install_name_tool -change /opt/local/lib/libSDL_ttf-2.0.0.dylib @executable_path/../Frameworks/libSDL_ttf-2.0.0.dylib bin/OpenRaider.app/Contents/MacOS/OpenRaider
|
130
|
|
- install_name_tool -change /opt/local/lib/libz.1.dylib @executable_path/../Frameworks/libz.1.dylib bin/OpenRaider.app/Contents/MacOS/OpenRaider
|
131
|
|
- install_name_tool -change /opt/local/lib/libSDL-1.2.0.dylib @executable_path/../Frameworks/libSDL-1.2.0.dylib bin/OpenRaider.app/Contents/MacOS/OpenRaider
|
|
130
|
+ install_name_tool -change /opt/local/lib/libalut.0.1.0.dylib @executable_path/../Frameworks/libalut.0.1.0.dylib bin/OpenRaider.app/Contents/MacOS/OpenRaider-bin
|
|
131
|
+ install_name_tool -change /opt/local/lib/libSDL_ttf-2.0.0.dylib @executable_path/../Frameworks/libSDL_ttf-2.0.0.dylib bin/OpenRaider.app/Contents/MacOS/OpenRaider-bin
|
|
132
|
+ install_name_tool -change /opt/local/lib/libz.1.dylib @executable_path/../Frameworks/libz.1.dylib bin/OpenRaider.app/Contents/MacOS/OpenRaider-bin
|
|
133
|
+ install_name_tool -change /opt/local/lib/libSDL-1.2.0.dylib @executable_path/../Frameworks/libSDL-1.2.0.dylib bin/OpenRaider.app/Contents/MacOS/OpenRaider-bin
|
132
|
134
|
|
133
|
135
|
bundle-image: bundle
|
134
|
136
|
hdiutil create -size 32m -fs HFS+ -volname "OpenRaider" bin/tmp.dmg
|