]> git.proxmox.com Git - novnc-pve.git/blobdiff - Makefile
use new repoman for upload target
[novnc-pve.git] / Makefile
index b984f5b7814abbcf6c9b05796823f35067c45a85..1c3d9e354fb374c5ce061ab01f6ac81d59dd94c8 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -39,13 +39,7 @@ download:
 
 .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
 
 .PHONY: distclean
 distclean: clean