From 0a3c58e0af5672c66d3acfb1f0c88443c9072aed Mon Sep 17 00:00:00 2001 From: Thomas Lamprecht Date: Fri, 5 Aug 2016 12:34:02 +0200 Subject: [PATCH] allow other archs than amd64 else lintian does not find the correct package to check if build on a foreign architecture Signed-off-by: Thomas Lamprecht --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d049179..7222e7d 100644 --- a/Makefile +++ b/Makefile @@ -10,7 +10,9 @@ PKGREL=7 GITVERSION:=$(shell cat .git/refs/heads/master) -GEN_DEB=${GEN_PACKAGE}_${DOCRELEASE}-${PKGREL}_amd64.deb +ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) + +GEN_DEB=${GEN_PACKAGE}_${DOCRELEASE}-${PKGREL}_${ARCH}.deb DOC_DEB=${DOC_PACKAGE}_${DOCRELEASE}-${PKGREL}_all.deb CHAPTER_LIST= \ -- 2.39.2