X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=b42e76ae15c58fe41184c1a0e7d5aa4309ad3169;hp=56f8f5fb48cda3ec4ff359ec67acabcfc762ed9e;hb=eead1ccaa509e8559e466ca5926c6625f27bff35;hpb=9b8c792f1da6f8ec8345145e781305b4f809dbeb diff --git a/Makefile b/Makefile index 56f8f5f..b42e76a 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ VERSION=5.0 -PKGREL=4 +PKGREL=17 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