.PHONY: deb
deb: ${DEB}
-${DEB}: check
+${DEB}: src test debian
+ make check
rm -rf build
rsync -a src/ build
rsync -a debian/ build/debian
echo "git clone git://git.proxmox.com/git/pve-firewall.git\\ngit checkout ${GITVERSION}" > build/debian/SOURCE
# install
- cd build; dpkg-buildpackage -rfakeroot -b -us -uc
+ cd build; dpkg-buildpackage -b -us -uc
lintian ${DEB}
.PHONY: check
.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}