.PHONY: deb
deb: ${DEB}
-${DEB}: check
+${DEB}: src test debian
+ make check
rm -rf build
rsync -a src/ build
rsync -a debian/ build/debian
.PHONY: upload
upload: ${DEB}
- tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload
+ tar cf - ${DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist stretch --arch ${ARCH}