|
@@ -121,6 +121,15 @@ bundle: release
|
121
|
121
|
cp mac_dist/openraider.icns bin/OpenRaider.app/Contents/Resources/openraider.icns
|
122
|
122
|
cp bin/release/OpenRaider bin/OpenRaider.app/Contents/MacOS/OpenRaider
|
123
|
123
|
|
|
124
|
+bundle-image: bundle
|
|
125
|
+ hdiutil create -size 32m -fs HFS+ -volname "OpenRaider" bin/tmp.dmg
|
|
126
|
+ hdiutil attach bin/tmp.dmg
|
|
127
|
+ cp -r bin/OpenRaider.app /Volumes/OpenRaider/OpenRaider.app
|
|
128
|
+ osascript -e 'tell application "Finder" to make alias file to POSIX file "/Applications" at POSIX file "/Volumes/OpenRaider/"'
|
|
129
|
+ hdiutil detach /Volumes/OpenRaider
|
|
130
|
+ hdiutil convert bin/tmp.dmg -format UDZO -o bin/OpenRaider.dmg
|
|
131
|
+ rm -rf bin/tmp.dmg
|
|
132
|
+
|
124
|
133
|
all: debug release prof
|
125
|
134
|
|
126
|
135
|
debug:
|
|
@@ -223,6 +232,7 @@ endif
|
223
|
232
|
|
224
|
233
|
clean: clean-emacs clean-build clean-test clean-obj clean-dep
|
225
|
234
|
@-rm -rf bin/OpenRaider.app
|
|
235
|
+ @-rm -rf bin/OpenRaider.dmg
|
226
|
236
|
|
227
|
237
|
clean-dep:
|
228
|
238
|
@-echo "Cleaning dependencies "
|