new make upload target

This commit is contained in:
Wolfgang Bumiller 2016-06-28 09:16:11 +02:00
parent dae9b620be
commit 0622ddfbbe

View File

@ -109,13 +109,7 @@ deb ${DEB}: ${PKGSOURCES}
.PHONY: upload
upload: ${DEB}
umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
mkdir -p /pve/${RELEASE}/extra
rm -rf /pve/${RELEASE}/extra/${PACKAGE}_*.deb
rm -rf /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: