]> git.proxmox.com Git - pve-storage.git/blobdiff - Makefile
cifs: improve warning for password but no username set
[pve-storage.git] / Makefile
index bece3f14c7c3874ea103b9e6b490e93228cf591f..e035a4db533e560e4ca542ba56af09cafdadaea1 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=38
 
 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,5 @@ 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 buster