diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-27 15:25:15 -0400 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2016-09-27 16:19:26 -0400 |
commit | 6cf1751a4231d6454e69641655b6c5ea848bff6d (patch) | |
tree | ec9aec1145cff16c43838375032af647ba9e91f8 /pkg/pyinst/build.mk | |
parent | 0f34a5b42fb6dbbcefcc166a4ad71e8502960cdc (diff) |
[pkg] make bundle from main makefile
Diffstat (limited to 'pkg/pyinst/build.mk')
-rw-r--r-- | pkg/pyinst/build.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/pkg/pyinst/build.mk b/pkg/pyinst/build.mk new file mode 100644 index 0000000..ea82f9f --- /dev/null +++ b/pkg/pyinst/build.mk @@ -0,0 +1,24 @@ +# This makefile should be called from the topmost bitmask folder +# +bundle: bundle_clean + pyinstaller -y pkg/pyinst/app.spec + cp $(VIRTUAL_ENV)/lib/python2.7/site-packages/_scrypt.so $(DIST) + cp src/leap/bitmask/core/bitmaskd.tac $(DIST) + mkdir $(DIST)/leap + cp -r $(VIRTUAL_ENV)/lib/python2.7/site-packages/leap/bitmask_js/ $(DIST)/leap + mv $(DIST) _bundlelib && mkdir $(DIST_VERSION) && mv _bundlelib $(DIST_VERSION)/lib + cd pkg/launcher && make + cp pkg/launcher/bitmask $(DIST_VERSION) + +bundle_tar: + cd dist/ && tar cvzf Bitmask.$(NEXT_VERSION).tar.gz bitmask-$(NEXT_VERSION) + +bundle_sign: + gpg2 -a --sign --detach-sign dist/Bitmask.$(NEXT_VERSION).tar.gz + +bundle_upload: + rsync --rsh='ssh' -avztlpog --progress --partial dist/Bitmask.$(NEXT_VERSION).* salmon.leap.se:./ + +bundle_clean: + rm -rf dist build + |