X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=5d7f50d4327629dce96d74d501aefbb6ab684431;hp=9707068b2d221eb285d407296954264f13192165;hb=76cbfc85dffa86d4e46bfc0f1ea748d3ce2ea3f4;hpb=a8e49285a5ca61f30e2a1e809570b391a079ba41 diff --git a/Makefile b/Makefile index 9707068..5d7f50d 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ VERSION=5.0 -PKGREL=1 +PKGREL=24 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