From da19b92b0ddda455dc8ec820dd4a9ab8929f3985 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Date: Tue, 13 Dec 2016 11:32:44 +0100 Subject: [PATCH] Be a lot more specific about what to install Due to a previous bug in the makefiles, debhelper didn't actually install anything relevant (as the install target bailed even during a dry-run). Prevent this from happening again by being very specific about what gets installed and fail the package build process in case of unexpected files. Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk> Reviewed-by: Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> Differential Revision: https://phabricator.apertis.org/D5250 --- debian/apertis-dev-tools.install | 3 +++ debian/rules | 6 ++++++ 2 files changed, 9 insertions(+) create mode 100644 debian/apertis-dev-tools.install diff --git a/debian/apertis-dev-tools.install b/debian/apertis-dev-tools.install new file mode 100644 index 0000000..b882a70 --- /dev/null +++ b/debian/apertis-dev-tools.install @@ -0,0 +1,3 @@ +usr/bin/ade +usr/share/man +etc/xdg/ade/sysroot.conf diff --git a/debian/rules b/debian/rules index b423719..2b7df01 100755 --- a/debian/rules +++ b/debian/rules @@ -5,3 +5,9 @@ %: dh $@ + +override_dh_auto_install: + dh_auto_install --destdir=debian/tmp + +override_dh_install: + dh_install --fail-missing -- GitLab