X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=1aa6088d3d71970a6867ee9d1a2e1eede0cd4e51;hp=e916e43b87275947d9abbe5684ec4af84128c469;hb=918140af72a20b738a13810a1a2acc783fc6c8b5;hpb=7ea9cb6d6286bade9ba852e5b0c4c8b46779fda2 diff --git a/Makefile b/Makefile index e916e43..1aa6088 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ VERSION=5.0 -PKGREL=6 +PKGREL=25 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