]> git.proxmox.com Git - fence-agents-pve.git/blobdiff - Makefile
arch fix
[fence-agents-pve.git] / Makefile
index e67ae1bb1a7ee12de282248d89999105917abd47..d4d21c104b999f901d7f6a1ba835eb3d4ab0e97b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,8 @@ FAVER=3.1.9
 FADIR=fence-agents-${FAVER}.6-582aa5
 FASRC=${FADIR}.tar.gz
 
-DEB=${PACKAGE}_${FAVER}-${PKGREL}_amd64.deb
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB=${PACKAGE}_${FAVER}-${PKGREL}_${ARCH}.deb
 
 all: ${DEB}