From c769d943c1bfb00ce15a6d5f3f0e4ba297c3e125 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sat, 1 Feb 2020 17:51:05 +0100 Subject: Using execute_after targets in rules to be explicit what we're doing. Signed-off-by: Daniel Baumann --- debian/control | 1 + debian/rules | 1 + 2 files changed, 2 insertions(+) diff --git a/debian/control b/debian/control index 7731419..828dbc8 100644 --- a/debian/control +++ b/debian/control @@ -4,6 +4,7 @@ Priority: optional Maintainer: Daniel Baumann Build-Depends: asciidoc, + debhelper (>= 12.8~), debhelper-compat (= 12), docbook-xml, docbook-xsl, diff --git a/debian/rules b/debian/rules index 3bb49f0..b9261a6 100755 --- a/debian/rules +++ b/debian/rules @@ -11,6 +11,7 @@ override_dh_auto_build: override_dh_auto_install: dh_auto_install -- DESTDIR=$(CURDIR)/debian/open-infrastructure-$(PACKAGE) +execute_after_dh_auto_install: rm -f debian/open-infrastructure-$(PACKAGE)/usr/share/doc/*/CHANGELOG.txt rm -f debian/open-infrastructure-$(PACKAGE)/usr/share/doc/*/LICENSE.txt -- cgit v1.2.3