X-Git-Url: https://git.proxmox.com/?p=pve-firewall.git;a=blobdiff_plain;f=Makefile;h=6f4872431aa088b250119604e9e073ff05582aaa;hp=7ad7e331e760c605748ab41bf15e90afc2162fef;hb=77331e89edce8e8f13616e3e2a45b9a9f89ef845;hpb=6d93cacf91dca29ab93013b64f8d0283d9a0e566 diff --git a/Makefile b/Makefile index 7ad7e33..6f48724 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ -VERSION=2.0 -PKGREL=33 +VERSION=3.0 +PKGREL=16 PACKAGE=pve-firewall @@ -12,7 +12,7 @@ MAN1DIR=${MANDIR}/man1/ PERLDIR=${PREFIX}/share/perl5 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) -GITVERSION:=$(shell cat .git/refs/heads/master) +GITVERSION:=$(shell git rev-parse HEAD) DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb @@ -25,7 +25,8 @@ dinstall: deb .PHONY: deb deb: ${DEB} -${DEB}: check +${DEB}: src test debian + make check rm -rf build rsync -a src/ build rsync -a debian/ build/debian @@ -42,7 +43,7 @@ check: clean: make -C src clean make -C test clean - rm -rf *~ debian/*~ example/*~ *.deb *.changes build ${PACKAGE}-*.tar.gz + rm -rf *~ debian/*~ example/*~ *.deb *.changes *.buildinfo build ${PACKAGE}-*.tar.gz .PHONY: distclean distclean: clean @@ -50,4 +51,4 @@ distclean: clean .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}