diff options
author | Kali Kaneko <kali@leap.se> | 2016-04-04 22:19:52 -0400 |
---|---|---|
committer | Kali Kaneko <kali@leap.se> | 2016-04-06 17:30:25 -0400 |
commit | b4dde3d5112c95574f85f62daf0c2c75db391f52 (patch) | |
tree | 119a529561838f305e65d58e758d184c930fa1d2 /pkg/sumo-tarballs.mk | |
parent | 093f84e42192fd8dc2234a00b754515be7ea9016 (diff) |
[pkg] modularize main makefile to remove clutter
Diffstat (limited to 'pkg/sumo-tarballs.mk')
-rw-r--r-- | pkg/sumo-tarballs.mk | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkg/sumo-tarballs.mk b/pkg/sumo-tarballs.mk new file mode 100644 index 00000000..3bd5fa77 --- /dev/null +++ b/pkg/sumo-tarballs.mk @@ -0,0 +1,25 @@ +checkout_leapdeps_release: + pkg/scripts/checkout_leap_versions.sh + +setup_without_namespace: + awk '!/namespace_packages*/' setup.py > file && mv file setup.py + +sumo_tarball_release: checkout_leapdeps_release setup_without_namespace + python setup.py sdist --sumo + git checkout -- src/leap/__init__.py + git checkout -- src/leap/bitmask/_version.py + rm -rf src/leap/soledad + git checkout -- setup.py + +# XXX We need two sets of sumo-tarballs: the one published for a release +# (that will pick the pinned leap deps), and the other which will be used +# for the nightly builds. +# TODO change naming scheme for sumo-latest: should include date (in case +# bitmask is not updated bu the dependencies are) + +sumo_tarball_latest: checkout_leapdeps_develop pull_leapdeps setup_without_namespace + python setup.py sdist --sumo # --latest + git checkout -- src/leap/__init__.py + git checkout -- src/leap/bitmask/_version.py + rm -rf src/leap/soledad + git checkout -- setup.py |