diff --git a/debian/rules b/debian/rules index e00d481..2ac25b9 100755 --- a/debian/rules +++ b/debian/rules @@ -6,7 +6,7 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk %: - dh $@ --with autotools-dev --with systemd + dh $@ override_dh_install: dh_install @@ -14,11 +14,8 @@ override_dh_install: rm -rf debian/knockd/usr/share/doc/knock # the standard config is unsafe -override_dh_systemd_enable: - dh_systemd_enable --no-enable - -override_dh_systemd_start: - dh_systemd_start --no-start +override_dh_installsystemd: + dh_installsystemd --no-enable --no-start override_dh_installinit: dh_installinit --no-start