* Update build-deps and Standards-Version
* Tweak Makefile setup - do our verification testing chained from
the "all" target, not "clean". Closes: #936002
+ * Don't include apport stuff in the Debian build, it's not useful.
-- Steve McIntyre <93sam@debian.org> Thu, 29 Apr 2021 22:04:33 +0100
VERSION := $(shell LC_ALL=C dpkg-parsechangelog | grep ^Version: | cut -d ' ' -f 2)
SHIM_VERSION := $(shell dpkg-query -f '$${Version}\n' -W shim-unsigned)
+VENDOR := $(shell dpkg-vendor --query vendor)
include /usr/share/dpkg/architecture.mk
override_dh_installdebconf:
dh_installdebconf -p shim-signed-common
+override_dh_installdeb:
+ifeq ($(VENDOR),Debian)
+ # Remove apport files from Debian builds, they're not useful
+ find debian/shim-signed-common -name '*apport*' | xargs rm -rvf
+endif
+ dh_installdeb
+
override_dh_gencontrol:
ifeq ($(DEB_HOST_ARCH),arm64)
# On arm64, substitute our package description with "not