X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=ae709ffc1661a41ca629245449e6cf1762651bc9;hb=3c049a1260972409fb96fe8d30f750a9273e78c8;hp=bad6813e69346acb3a1bdccad8fa281334d8f19f;hpb=f99ed89ba1c4cba5374164823c8663b5afd2b28f;p=pve-container.git diff --git a/Makefile b/Makefile index bad6813..ae709ff 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ VERSION=2.0 PACKAGE=pve-container -PKGREL=6 +PKGREL=26 -GITVERSION:=$(shell cat .git/refs/heads/master) +GITVERSION:=$(shell git rev-parse HEAD) ARCH:=all @@ -22,13 +22,13 @@ ${DEB}: rsync -a src/ build rsync -a debian/ build/debian echo "git clone git://git.proxmox.com/git/pve-container\\ngit checkout ${GITVERSION}" > build/debian/SOURCE - cd build; dpkg-buildpackage -rfakeroot -b -us -uc + cd build; dpkg-buildpackage -b -us -uc lintian ${DEB} .PHONY: clean clean: make -C src clean - rm -rf build *.deb ${PACKAGE}-*.tar.gz *.changes + rm -rf build *.deb ${PACKAGE}-*.tar.gz *.changes *.buildinfo find . -name '*~' -exec rm {} ';' .PHONY: distclean