]> git.proxmox.com Git - drbd-utils.git/blobdiff - Makefile
update sources to 8.9.8-1
[drbd-utils.git] / Makefile
index 1e5dea851066e4ee6a830bdc7bb0e2823e725555..4aa411b784e21d94736d9047914bb68825e3dee6 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -3,7 +3,7 @@ RELEASE=4.2
 PACKAGE=drbd-utils
 PKGREL=1
 
-DRBDVER=8.9.7
+DRBDVER=8.9.8
 DRBDDIR=${PACKAGE}
 DRBDSRC=${DRBDDIR}.tgz
 
@@ -32,14 +32,7 @@ download ${DRBDSRC}:
 
 .PHONY: upload
 upload: ${DEBS}
-       umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw 
-       mkdir -p /pve/${RELEASE}/extra
-       rm -f /pve/${RELEASE}/extra/drbd8-utils_*.deb
-       rm -f /pve/${RELEASE}/extra/drbd-utils_*.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