]> git.proxmox.com Git - pve-container.git/blobdiff - Makefile
cleanup: move variable a bit closer to its use...
[pve-container.git] / Makefile
index 6dcb24ebe6551c7ac0f4db579f77f0e391855b3d..344d7a35a940906fbdacfa2d703da6a07fe4cf9f 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,8 +1,8 @@
 VERSION=2.0
 PACKAGE=pve-container
-PKGREL=11
+PKGREL=25
 
-GITVERSION:=$(shell cat .git/refs/heads/master)
+GITVERSION:=$(shell git rev-parse HEAD)
 
 ARCH:=all
 
@@ -22,7 +22,7 @@ ${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