[pve-devel] [PATCH docs] allow other archs than amd64

Thomas Lamprecht t.lamprecht at proxmox.com
Fri Aug 5 12:34:02 CEST 2016


else lintian does not find the correct package to check if build
on a foreign architecture

Signed-off-by: Thomas Lamprecht <t.lamprecht at proxmox.com>
---
 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.1.4





More information about the pve-devel mailing list