]> review.fuel-infra Code Review - openstack-build/cinder-build.git/blob - debian/rules
Update DEB-specs to 2013.2 version
[openstack-build/cinder-build.git] / debian / rules
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 %:
7         dh $@  --with python2
8
9 get-orig-source:
10         uscan --verbose --rename --destdir=../build-area
11
12 ifeq (,$(findstring nocheck, $(DEB_BUILD_OPTIONS)))
13 override_dh_auto_test:
14         testr init && testr run
15 endif
16
17 override_dh_install:
18         dh_install --fail-missing -Xbin/cinder-all
19
20 override_dh_fixperms:
21         dh_fixperms -Xcinder_tgt.conf
22
23 override_dh_clean:
24         # temporary workaround for d2to1 wonkyness
25         dh_clean -Xsetup.cfg