3 # Uncomment this to turn on verbose mode.
6 include /usr/share/openstack-pkg-tools/pkgos.make
9 dh $@ --with python2,systemd
12 uscan --verbose --rename --destdir=../build-area
14 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
15 override_dh_auto_test:
16 rm -rf .testrepository
19 TEMP_REZ=`mktemp -t` && \
20 testr run --subunit | tee $$TEMP_REZ | subunit2pyunit; \
25 dh_install --fail-missing -Xbin/cinder-all
28 dh_fixperms -Xcinder_tgt.conf
31 # temporary workaround for d2to1 wonkyness
33 rm -f debian/*.init debian/*.service debian/*.upstart