]> git.proxmox.com Git - pve-installer.git/blobdiff - Makefile
prompt user if a vgrename is OK for exisiting 'pve'/'pmg' VGs
[pve-installer.git] / Makefile
index 4039866b408ab6c4cadc88aba072f029a2dff712..1ca29720f0be6d201e1b7dc3d64b568ba45ddef9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,7 @@
-PKGVER=5.0
-PKGREL=24
+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}
 
@@ -59,7 +58,7 @@ upload-pmg: ${PMG_DEB}
 
 .phony: upload-pve
 upload-pve: ${PVE_DEB}
-       tar cf - ${PVE_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch
+       tar cf - ${PVE_DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist buster
 
 %.img:
        truncate -s 2G $@