3 # Uncomment this to turn on verbose mode.
7 dh $@ --with python2,sphinxdoc
10 dh_install --fail-missing -X/usr/etc -X/usr/bin/neutron-hyperv-agent
12 override_dh_installinit:
14 dh_installinit -pneutron-plugin-openvswitch-agent --no-start --name=neutron-ovs-cleanup
16 override_dh_auto_clean:
19 override_dh_auto_test:
20 ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
21 # Unpatch quantum configuration to fixup tests which conflict
22 # with a core_plugin being set.
23 patch -p1 -R < debian/patches/fix-neutron-configuration.patch
24 # Set a reasonable level of concurrency
25 ./run_tests.sh -N -P --concurrency=4
26 # Patch configuration file after testing
27 patch -p1 < debian/patches/fix-neutron-configuration.patch
30 override_dh_sphinxdoc:
31 ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS)))
32 python setup.py build_sphinx
33 cp -rf doc/build/html $(CURDIR)/debian/neutron-doc/usr/share/doc/neutron-doc
34 dh_sphinxdoc -O--buildsystem=python_distutils