3 # Uncomment this to turn on verbose mode.
6 PKG_VERSION
=$(shell dpkg-parsechangelog | awk
'/^Version:/ { print $$2 }')
9 dh
$@
--with
=quilt
,systemd
11 override_dh_auto_clean
:
13 rm -f debian
/drbd-utils.drbd.init
15 override_dh_auto_configure
:
18 --localstatedir
=/var \
24 --with-distro debian \
27 --with-bashcompletion \
28 --with-systemdunitdir
=/lib
/systemd
/system \
29 --with-initscripttype
=systemd
31 override_dh_auto_install
:
32 dh_auto_install
--destdir debian
/drbd-utils
34 override_dh_systemd_enable
:
35 dh_systemd_enable
-p drbd-utils
--no-enable drbd.service
37 override_dh_gencontrol
:
38 dh_gencontrol
-Ndrbd8-utils
39 # Add the previous epoch to drbd8-utils
40 dh_gencontrol
-pdrbd8-utils
-- -v2
:$(PKG_VERSION
)