VERSION=5.0
PACKAGE=qemu-server
-PKGREL=4
+PKGREL=6
CFLAGS= -O2 -Werror -Wall -Wtype-limits -Wl,-z,relro
.PHONY: deb
deb: ${DEB}
-${DEB}: ${PKGSOURCES}
+${DEB}: ${PKGSOURCES} check
rm -f *.deb
rm -rf build
mkdir build
mv build.deb ${DEB}
lintian ${DEB}
+.PHONY: check
+check: test
+ make -C test
+
.PHONY: upload
upload: ${DEB}
tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload --product pve --dist stretch