From 8643936afec60bec17d3c0d7970e55b78123dda9 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Thu, 1 Aug 2013 12:33:58 +0200 Subject: [PATCH] Moved everything to override_dh_install Rewritten-From: 10d2f8c5c70dfeb89bacf2dab7d79588fe556742 --- xenial/debian/rules | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/xenial/debian/rules b/xenial/debian/rules index 0ebf77e2a..97665656d 100755 --- a/xenial/debian/rules +++ b/xenial/debian/rules @@ -12,10 +12,7 @@ PYTHONS:=$(shell pyversions -vr) dh $@ --buildsystem=python_distutils --with python2 override_dh_auto_install: - set -e ; for pyvers in $(PYTHONS) ; do \ - python$$pyvers setup.py build ; \ - python$$pyvers setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp ; \ - done + echo "Nothing to do!" # dh_auto_install # find . -type d -name tests | xargs rm -fr # for i in neutron/db/migration/alembic_migrations/versions/*.py ; do \ @@ -24,6 +21,10 @@ override_dh_auto_install: # done override_dh_install: + set -e ; for pyvers in $(PYTHONS) ; do \ + python$$pyvers setup.py build ; \ + python$$pyvers setup.py install --install-layout=deb --root=$(CURDIR)/debian/tmp ; \ + done dh_install -O--buildsystem=python_distutils --fail-missing -X/usr/etc -X/usr/bin install -D -m 0640 etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini $(CURDIR)/debian/neutron-common/usr/share/neutron-common/ovs_neutron_plugin.ini -- 2.45.2