X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=a5772527e4a6a9c487e86ce71bd3c67a6d037e68;hp=4c4d72bad9c0ea5000797ee75c74b2a03a1cc263;hb=c7171ff272c9070958c8db1135b9305d6197f307;hpb=755396b9f66fb524911105e74c273056cd44a64a diff --git a/Makefile b/Makefile index 4c4d72b..a577252 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ VERSION=5.0 -PKGREL=6 +PKGREL=29 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,12 +29,12 @@ 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 clean: - rm -rf *~ *.deb *.changes build ${PACKAGE}-*.tar.gz + rm -rf *~ *.deb *.changes build ${PACKAGE}-*.tar.gz *.buildinfo .PHONY: distclean distclean: clean