Makefile(clean): remove *.buildinfo
[pve-common.git] / Makefile
index 9e0378d..e916e43 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,5 @@
-RELEASE=4.0
-
-VERSION=4.0
-PKGREL=40
+VERSION=5.0
+PKGREL=6
 
 PACKAGE=libpve-common-perl
 
@@ -36,7 +34,7 @@ deb ${DEB}:
 
 .PHONY: clean
 clean:         
-       rm -rf *~ *.deb *.changes build ${PACKAGE}-*.tar.gz
+       rm -rf *~ *.deb *.changes build ${PACKAGE}-*.tar.gz *.buildinfo
 
 .PHONY: distclean
 distclean: clean
@@ -47,11 +45,5 @@ check:
 
 .PHONY: upload
 upload: ${DEB}
-       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw 
-       mkdir -p /pve/${RELEASE}/extra
-       rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb
-       rm -f /pve/${RELEASE}/extra/Packages*
-       cp ${DEB} /pve/${RELEASE}/extra
-       cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
-       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
+       tar cf - ${DEB}|ssh repoman@repo.proxmox.com -- upload --product pve,pmg --dist stretch