X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=e05ed8e9e575ee23bdf7e6f012c0452267c4d3b9;hb=6e38c2a1cb7dd688dbbaaa9abe56fd69aa6c50b1;hp=4c629a5b853f3dd1c7e4cca38c2cefe7825ff9c9;hpb=a9e7f1bd7a81f821c618baa897ce82a8f8aa4280;p=pve-firewall.git diff --git a/Makefile b/Makefile index 4c629a5..e05ed8e 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ VERSION=2.0 -PKGREL=30 +PKGREL=33 PACKAGE=pve-firewall @@ -11,7 +11,7 @@ DOCDIR=${PREFIX}/share/doc MAN1DIR=${MANDIR}/man1/ PERLDIR=${PREFIX}/share/perl5 -ARCH=amd64 +ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) GITVERSION:=$(shell cat .git/refs/heads/master) DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb @@ -24,13 +24,15 @@ dinstall: deb .PHONY: deb -deb ${DEB}: check +deb: ${DEB} +${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