]> git.proxmox.com Git - vncterm.git/blobdiff - Makefile
genfont: gzFile is already the opaque pointer
[vncterm.git] / Makefile
index 40e024607c0c15a75a113405111e7b39a6484853..5576560d2a0f0ec4832e8b3c001c55cd40c567f6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -83,7 +83,8 @@ vncterm.1: vncterm.pod
        pod2man -n $< -s 1 -r ${VERSION} <$< >$@
 
 .PHONY: deb
-${DEB} deb:
+deb: $(DEB)
+${DEB}:
        make clean
        rm -rf dest
        mkdir dest
@@ -104,13 +105,7 @@ ${DEB} deb:
 
 .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: clean
 clean: