From: Tobias Brunner Date: Wed, 11 May 2016 09:23:20 +0000 (+0200) Subject: vici: Add target to build a source package and universal wheel of the Python package X-Git-Tag: 5.4.1dr4~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81b9de01269fd93d1d864c2255da745a868420c5;p=thirdparty%2Fstrongswan.git vici: Add target to build a source package and universal wheel of the Python package --- diff --git a/src/libcharon/plugins/vici/python/Makefile.am b/src/libcharon/plugins/vici/python/Makefile.am index 6088200e24..8709751044 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