]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commitdiff
Moved everything to override_dh_install
authorThomas Goirand <thomas@goirand.fr>
Thu, 1 Aug 2013 10:33:58 +0000 (12:33 +0200)
committerThomas Goirand <thomas@goirand.fr>
Thu, 1 Aug 2013 10:33:58 +0000 (12:33 +0200)
Rewritten-From: 10d2f8c5c70dfeb89bacf2dab7d79588fe556742

xenial/debian/rules

index 0ebf77e2a06c4930c687d1a9b08f4395b6ba85b7..97665656dfe22e1c4ae555ae8bdfb2c93b0c4131 100755 (executable)
@@ -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