]> git.proxmox.com Git - proxmox-ve.git/commitdiff
buildsys: use dpkg-dev makefile helpers for pkg info
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 19:42:31 +0000 (21:42 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 19:42:31 +0000 (21:42 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 62a1c593269863278eae6f72de711d3f77b1e1a4..ff4730e67f4412c2d3ec7c440a502d66e48b84c5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,11 @@
-RELEASE=5.4
+include /usr/share/dpkg/pkg-info.mk
+
 PACKAGE=proxmox-ve
-PKGREL=1
 
 GITVERSION:=$(shell git rev-parse HEAD)
 
-PVE_DEB=${PACKAGE}_${RELEASE}-${PKGREL}_all.deb
-PVE_HEADERS_DEB=pve-headers_${RELEASE}-${PKGREL}_all.deb
+PVE_DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
+PVE_HEADERS_DEB=pve-headers_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
 
 BUILD_DIR=build