summaryrefslogtreecommitdiff
path: root/pkg/osx/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/osx/Makefile')
-rw-r--r--pkg/osx/Makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkg/osx/Makefile b/pkg/osx/Makefile
new file mode 100644
index 00000000..54fbf14a
--- /dev/null
+++ b/pkg/osx/Makefile
@@ -0,0 +1,17 @@
+pkg : dist dmg
+
+dist :
+ ~/pyinstaller/pyinstaller.py -w -s leap-client.spec
+ cp -r /opt/local/Library/Frameworks/QtGui.framework/Versions/4/Resources/qt_menu.nib "dist/LEAP Client.app/Contents/Resources"
+ cp Info.plist "dist/LEAP Client.app/Contents/Info.plist"
+ cp ../../data/images/leap-client.icns "dist/LEAP Client.app/Contents/Resources/icon-windowed.icns"
+
+
+dmg :
+ #TODO: remove if already present
+ #rm dist/LEAPClient.dmg
+ hdiutil create -format UDBZ -srcfolder "dist/LEAP Client.app/" "dist/LEAP Client.dmg"
+
+clean :
+ rm -rf dist/ build/
+