summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorKali Kaneko (leap communications) <kali@leap.se>2017-06-13 18:41:16 +0200
committerKali Kaneko (leap communications) <kali@leap.se>2017-06-13 18:41:16 +0200
commit9fd7129a2b616df701b13a6cf7df2f7d75011eff (patch)
treeb9e1936b25bf4477492940611833aecb0567d93e /pkg
parent40d540552848e08832a3d5bd9656c4e2f7e0a06e (diff)
[pkg] simplify osx/linux target
Diffstat (limited to 'pkg')
-rwxr-xr-xpkg/build_bundle_with_venv.sh3
-rw-r--r--pkg/pyinst/build.mk16
2 files changed, 9 insertions, 10 deletions
diff --git a/pkg/build_bundle_with_venv.sh b/pkg/build_bundle_with_venv.sh
index 65c52c6..7900a9d 100755
--- a/pkg/build_bundle_with_venv.sh
+++ b/pkg/build_bundle_with_venv.sh
@@ -47,5 +47,4 @@ pip install pixelated-www pixelated-user-agent --find-links https://downloads.le
$VIRTUAL_ENV/bin/pip uninstall --yes pyzmq
$VIRTUAL_ENV/bin/pip install pyzmq --install-option="--zmq=bundled"
-make bundle
-make bundle_apps_linux
+make bundle_linux
diff --git a/pkg/pyinst/build.mk b/pkg/pyinst/build.mk
index ed27ff5..0c540d5 100644
--- a/pkg/pyinst/build.mk
+++ b/pkg/pyinst/build.mk
@@ -15,12 +15,6 @@ bundle: bundle_clean
cd pkg/launcher && make
cp pkg/launcher/bitmask $(DIST_VERSION)
-bundle_win:
- pyinstaller -y pkg/pyinst/app.spec
- cp ${VIRTUAL_ENV}/Lib/site-packages/_scrypt.pyd $(DIST)
- cp ${VIRTUAL_ENV}/Lib/site-packages/zmq/libzmq.pyd $(DIST)
- cp src/leap/bitmask/core/bitmaskd.tac $(DIST)
-
bundle_linux_gpg:
# TODO build it in a docker container!
mkdir -p $(DIST_VERSION)/apps/mail
@@ -48,9 +42,15 @@ bundle_osx_helpers:
cp -r pkg/osx/openvpn $(DIST_VERSION)/apps/helpers/
-bundle_apps_linux: bundle_linux_gpg bundle_linux_vpn bundle_linux_helpers
+bundle_linux: bundle bundle_linux_gpg bundle_linux_vpn bundle_linux_helpers
-bundle_apps_osx: bundle_osx_helpers
+bundle_osx: bundle bundle_osx_helpers
+
+bundle_win:
+ pyinstaller -y pkg/pyinst/app.spec
+ cp ${VIRTUAL_ENV}/Lib/site-packages/_scrypt.pyd $(DIST)
+ cp ${VIRTUAL_ENV}/Lib/site-packages/zmq/libzmq.pyd $(DIST)
+ cp src/leap/bitmask/core/bitmaskd.tac $(DIST)
bundle_tar:
cd dist/ && tar cvzf Bitmask.$(NEXT_VERSION).tar.gz bitmask-$(NEXT_VERSION)