From 9fd7129a2b616df701b13a6cf7df2f7d75011eff Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Tue, 13 Jun 2017 18:41:16 +0200 Subject: [pkg] simplify osx/linux target --- pkg/build_bundle_with_venv.sh | 3 +-- pkg/pyinst/build.mk | 16 ++++++++-------- 2 files changed, 9 insertions(+), 10 deletions(-) (limited to 'pkg') diff --git a/pkg/build_bundle_with_venv.sh b/pkg/build_bundle_with_venv.sh index 65c52c6d..7900a9da 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 ed27ff50..0c540d54 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) -- cgit v1.2.3