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