]> git.proxmox.com Git - pve-installer.git/commitdiff
buildsys: use dpkg-dev makefile helpers for pkg info
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 08:00:20 +0000 (10:00 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 22 May 2019 08:00:37 +0000 (10:00 +0200)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
Makefile

index 7b80704c5c6a48b37b284184ed214a00e225f2bb..a92b7ef2f1755d5284dc3532dbdf000ddd59a5cb 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,7 @@
-PKGVER=5.0
-PKGREL=26
+include /usr/share/dpkg/pkg-info.mk
 
-PVE_DEB=pve-installer_${PKGVER}-${PKGREL}_all.deb
-PMG_DEB=pmg-installer_${PKGVER}-${PKGREL}_all.deb
+PVE_DEB=pve-installer_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
+PMG_DEB=pmg-installer_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
 
 DEBS = ${PVE_DEB} ${PMG_DEB}