summaryrefslogtreecommitdiff
path: root/pkg/osx/Makefile
blob: 54fbf14af9d2573576706da1d3d3bf4ea891319f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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/