]> git.proxmox.com Git - pve-storage.git/blobdiff - Makefile
api: disks: delete: add flag for cleaning up storage config
[pve-storage.git] / Makefile
index b4068a583d3ccb103d24d32dd9ca447e084ee5e6..431db16a68f5429b79579165aaa4fdb8b7782017 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
-VERSION=5.0
+include /usr/share/dpkg/pkg-info.mk
+
 PACKAGE=libpve-storage-perl
-PKGREL=42
 
 DESTDIR=
 PREFIX=/usr
@@ -14,12 +14,9 @@ ZSHCOMPLDIR=${PREFIX}/share/zsh/vendor-completions/
 
 export PERLDIR=${PREFIX}/share/perl5
 
-export SOURCE_DATE_EPOCH ?= $(shell dpkg-parsechangelog -STimestamp)
-
-ARCH=all
 GITVERSION:=$(shell git rev-parse HEAD)
 
-DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
+DEB=${PACKAGE}_${DEB_VERSION_UPSTREAM_REVISION}_all.deb
 
 # this require package pve-doc-generator
 export NOVIEW=1
@@ -76,5 +73,4 @@ distclean: clean
 
 .PHONY: upload
 upload: ${DEB}
-       tar cf - ${DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch
-
+       tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist bullseye