diff options
author | Tobias Brunner <tobias@strongswan.org> | 2016-05-11 11:23:20 +0200 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2016-05-11 11:36:51 +0200 |
commit | 81b9de01269fd93d1d864c2255da745a868420c5 (patch) | |
tree | f41fa6edb9e2e92fb0701359a0a8395da638393e /src | |
parent | fa844a798b76b09667cccaa569debd8313949d17 (diff) | |
download | strongswan-81b9de01269fd93d1d864c2255da745a868420c5.tar.bz2 strongswan-81b9de01269fd93d1d864c2255da745a868420c5.tar.xz |
vici: Add target to build a source package and universal wheel of the Python package
Diffstat (limited to 'src')
-rw-r--r-- | src/libcharon/plugins/vici/python/Makefile.am | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/libcharon/plugins/vici/python/Makefile.am b/src/libcharon/plugins/vici/python/Makefile.am index 6088200e2..870975104 100644 --- a/src/libcharon/plugins/vici/python/Makefile.am +++ b/src/libcharon/plugins/vici/python/Makefile.am @@ -20,6 +20,10 @@ dist/vici-$(PYTHON_PACKAGE_VERSION)-py$(PYTHON_VERSION).egg: $(EXTRA_DIST) $(src -b $(shell readlink -f $(builddir))/build \ -d $(shell readlink -f $(builddir))/dist) +package: $(EXTRA_DIST) $(srcdir)/setup.py + (cd $(srcdir); $(PYTHON) setup.py sdist bdist_wheel --universal \ + -d $(shell readlink -f $(builddir))/dist) + clean-local: (cd $(srcdir); [ ! -f setup.py ] || $(PYTHON) setup.py clean -a) rm -rf $(srcdir)/setup.py $(srcdir)/vici.egg-info $(builddir)/dist @@ -33,3 +37,5 @@ endif if USE_PY_TEST TESTS = $(PY_TEST) endif + +.PHONY: package |