Annotation of embedaddon/strongswan/src/libcharon/plugins/vici/python/Makefile.am, revision 1.1.1.1
1.1 misho 1: EXTRA_DIST = LICENSE README.rst MANIFEST.in \
2: setup.py.in \
3: tox.ini \
4: tox.sh \
5: test/__init__.py \
6: test/test_protocol.py \
7: vici/__init__.py \
8: vici/command_wrappers.py \
9: vici/compat.py \
10: vici/exception.py \
11: vici/protocol.py \
12: vici/session.py
13:
14: $(srcdir)/setup.py: $(srcdir)/setup.py.in $(top_builddir)/config.status
15: $(AM_V_GEN) sed \
16: -e "s:@EGG_VERSION@:$(PYTHON_PACKAGE_VERSION):" \
17: $(srcdir)/setup.py.in > $@
18:
19: all-local: dist/vici-$(PYTHON_PACKAGE_VERSION)-py$(PYTHON_VERSION).egg
20:
21: dist/vici-$(PYTHON_PACKAGE_VERSION)-py$(PYTHON_VERSION).egg: $(EXTRA_DIST) $(srcdir)/setup.py
22: (cd $(srcdir); $(PYTHON) setup.py bdist_egg \
23: -b $(shell readlink -f $(builddir))/build \
24: -d $(shell readlink -f $(builddir))/dist)
25:
26: package: $(EXTRA_DIST) $(srcdir)/setup.py
27: (cd $(srcdir); $(PYTHON) setup.py sdist \
28: -d $(shell readlink -f $(builddir))/dist \
29: bdist_wheel --universal \
30: -d $(shell readlink -f $(builddir))/dist)
31:
32: clean-local:
33: (cd $(srcdir); [ ! -f setup.py ] || $(PYTHON) setup.py clean -a)
34: rm -rf $(srcdir)/setup.py $(srcdir)/vici.egg-info $(builddir)/dist
35:
36: if PYTHON_EGGS_INSTALL
37: install-exec-local: dist/vici-$(PYTHON_PACKAGE_VERSION)-py$(PYTHON_VERSION).egg
38: $(EASY_INSTALL) $(PYTHONEGGINSTALLDIR) \
39: dist/vici-$(PYTHON_PACKAGE_VERSION)-py$(PYTHON_VERSION).egg
40: endif
41:
42: if USE_TOX
43: TESTS_ENVIRONMENT = export TOX=$(TOX);
44: AM_TESTS_FD_REDIRECT = 1>&2
45: TESTS = tox.sh
46: endif
47:
48: if USE_PY_TEST
49: TESTS = $(PY_TEST)
50: endif
51:
52: .PHONY: package
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>