d/rules: remove old dh options

This commit is contained in:
Leo Antunes
2021-10-18 23:40:25 +02:00
parent 07da25fbbb
commit bfe2e959c9

9
debian/rules vendored
View File

@@ -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