]> git.proxmox.com Git - pve-omping.git/blobdiff - Makefile
buildsys: use repoman for make upload
[pve-omping.git] / Makefile
index 2b89736a998961e1b5e2536c50197a7e4a8ea736..9677c978776206a8166fe7aab6a6b029621b3e9b 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-RELEASE=3.0
+RELEASE=4.0
 
 PKGVERSION=0.0.4
 PKGRELEASE=2
@@ -22,13 +22,7 @@ ${DEBS}: ${PKGSRC}
 
 .PHONY: upload
 upload: ${DEBS}
-       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 ${DEBS} /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 - ${DEBS} | ssh repoman@repo.proxmox.com upload
 
 distclean: clean