summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2015-09-11 07:44:14 -0700
committerKali Kaneko <kali@leap.se>2016-04-18 16:10:28 -0400
commit748dea614050dca9d1baf8e6b36900109066b2bb (patch)
tree0302776a74994174c9f0c1b14accab9c0740891b /Makefile
parent6843558ee9effe466b563fc5c3f380774a54d222 (diff)
[pkg] packaging hacks + update osx bundling notes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7d26a7ae..7bf5d273 100644
--- a/Makefile
+++ b/Makefile
@@ -150,5 +150,13 @@ include pkg/sumo-tarballs.mk
include pkg/pyinst/pyinst-build.mk
include pkg/branding/branding.mk
+pyinst_osx: pyinst
+ mv dist/Bitmask.app/Contents/MacOS/bitmask dist/Bitmask.app/Contents/MacOS/bitmask-app
+ cp pkg/osx/bitmask-wrapper dist/Bitmask.app/Contents/MacOS/bitmask
+ # XXX hack... this contains the gpg binary (brew), but we need to build it from sources.
+ cp -r src/leap/bitmask/util/apps dist/Bitmask.app/Contents/MacOS/
+ # XXX this should be taken care of by pyinstaller data collector
+ cp $(VIRTUAL_ENV)/lib/python2.7/site-packages/leap/common/cacert.pem dist/Bitmask.app/Contents/MacOS/
+
clean :
$(RM) $(COMPILED_UI) $(COMPILED_RESOURCES) $(COMPILED_UI:.py=.pyc) $(COMPILED_RESOURCES:.py=.pyc)