summaryrefslogtreecommitdiff
path: root/pkg/bundles/build.mk
diff options
context:
space:
mode:
authorSimon Fondrie-Teitler <simonft@riseup.net>2017-12-12 14:20:29 -0500
committerKali Kaneko <kali@leap.se>2017-12-20 15:30:57 +0100
commit86fd23bdb0312b5b69062116128c64952bbec57f (patch)
treee20c58e48b4601353260946320a5b57b580a9c94 /pkg/bundles/build.mk
parentcaf3e217935faabc6d47672b058e7c8eb0cb5a63 (diff)
[pkg] add make target for headless builds
This adds a make target which allows for headless builds. It runs pyinstaller and copies some required files.
Diffstat (limited to 'pkg/bundles/build.mk')
-rw-r--r--pkg/bundles/build.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/bundles/build.mk b/pkg/bundles/build.mk
index 0def86e4..1a2e7932 100644
--- a/pkg/bundles/build.mk
+++ b/pkg/bundles/build.mk
@@ -105,3 +105,9 @@ bundle_upload:
bundle_clean:
rm -rf "dist" "build"
+
+bundle_headless:
+ pyinstaller -y pkg/pyinst/headless.spec
+ cp $(VIRTUAL_ENV)/lib/python2.7/site-packages/_scrypt.so $(HEADLESS_DIST)
+ cp src/leap/bitmask/core/bitmaskd.tac $(HEADLESS_DIST)
+ cp $(VIRTUAL_ENV)/lib/python2.7/site-packages/leap/common/cacert.pem $(HEADLESS_DIST)/