build: base BUILDDIR on VERSION
authorFabian Grünbichler <f.gruenbichler@proxmox.com>
Wed, 17 Oct 2018 12:36:08 +0000 (14:36 +0200)
committerWolfgang Bumiller <w.bumiller@proxmox.com>
Mon, 29 Oct 2018 13:10:50 +0000 (14:10 +0100)
this is the standard naming used in Debian/dpkg

Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
Acked-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Acked-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
Makefile

index 412133d..29775f3 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -5,7 +5,7 @@ PACKAGE=libpve-common-perl
 
 ARCH=all
 
-BUILDDIR ?= build
+BUILDDIR ?= ${PACKAGE}-${VERSION}
 
 DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
 DSC=${PACKAGE}_${VERSION}-${PKGREL}.dsc