From fcf14cede65a603b698f01283e98c10ec2bad803 Mon Sep 17 00:00:00 2001 From: Leo Antunes Date: Sat, 8 Oct 2016 14:36:24 +0200 Subject: [PATCH] remove knock client docs from installation otherwise we end up with multiple documentation copies in the single binary package --- debian/rules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/debian/rules b/debian/rules index 663b9f0..e00d481 100755 --- a/debian/rules +++ b/debian/rules @@ -8,6 +8,11 @@ include /usr/share/dpkg/buildflags.mk %: dh $@ --with autotools-dev --with systemd +override_dh_install: + dh_install + # original installation has duplicate docs for knock and knockd + rm -rf debian/knockd/usr/share/doc/knock + # the standard config is unsafe override_dh_systemd_enable: dh_systemd_enable --no-enable