]> git.proxmox.com Git - pve-common.git/blobdiff - Makefile
wait_for_vnc_port: allow to enforce IP family
[pve-common.git] / Makefile
index 1eb7ce24406bcf33c225130866dc3d2ce4dcb442..bdfe97165c0063ed2ff74f9569baca5cc061f4b1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 VERSION=5.0
-PKGREL=16
+PKGREL=23
 
 PACKAGE=libpve-common-perl
 
@@ -11,7 +11,7 @@ MAN1DIR=${MANDIR}/man1/
 PERLDIR=${PREFIX}/share/perl5
 
 ARCH=all
-GITVERSION:=$(shell cat .git/refs/heads/master)
+GITVERSION:=$(shell git rev-parse HEAD)
 
 DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb
 
@@ -29,7 +29,7 @@ deb ${DEB}:
        rsync -a src/ build
        rsync -a debian/ build/debian
        echo "git clone git://git.proxmox.com/git/pve-common.git\\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