X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=427e9499e41af3745f1f86775dc0a83595fa6b2e;hb=d0138dbaca6d745420693552e86683a2d001ac2a;hp=124b30e2d0021f62502ff31ad389bac8a6a3331b;hpb=7ef316c824491a0fcbf470988edf7a6fa7f3b92f;p=pve-common.git diff --git a/Makefile b/Makefile index 124b30e..427e949 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ VERSION=5.0 -PKGREL=12 +PKGREL=20 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