]> git.proxmox.com Git - pve-docs.git/commitdiff
allow other archs than amd64
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Fri, 5 Aug 2016 10:34:02 +0000 (12:34 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Fri, 5 Aug 2016 11:59:14 +0000 (13:59 +0200)
else lintian does not find the correct package to check if build
on a foreign architecture

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index d049179c0d9718eb35cb4e26cdaf1194d6a5ee90..7222e7d2c7d746e5936cb998c109e35dad0f9a12 100644 (file)
--- 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=          \