#!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. # export DH_VERBOSE=1 PKG_VERSION=$(shell dpkg-parsechangelog | awk '/^Version:/ { print $$2 }') %: dh $@ --with=quilt,systemd override_dh_auto_clean: dh_auto_clean rm -f debian/drbd-utils.drbd.init override_dh_auto_configure: ./configure \ --prefix=/usr \ --localstatedir=/var \ --sysconfdir=/etc \ --sbindir=/usr/sbin \ --without-83support \ --without-84support \ --without-xen \ --with-distro debian \ --with-udev \ --with-pacemaker \ --with-bashcompletion \ --with-systemdunitdir=/lib/systemd/system \ --with-initscripttype=both override_dh_auto_install: dh_auto_install --destdir debian/drbd-utils override_dh_systemd_enable: dh_systemd_enable -p drbd-utils --no-enable drbd.service override_dh_gencontrol: dh_gencontrol -Ndrbd8-utils # Add the previous epoch to drbd8-utils dh_gencontrol -pdrbd8-utils -- -v2:$(PKG_VERSION)