X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=11d8cef4b4c1d789c9c5e82be7d4c3e2d30631d0;hp=47daa8b20f4ccafaff26d9787ba4ce06bfc4cc62;hb=19cec2309dad9487a2fc0a679c1a2b9d9995c4ba;hpb=894c305e38d267131f3e1c1cbf8f20bd51aef8c3 diff --git a/Makefile b/Makefile index 47daa8b..11d8cef 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -RELEASE=3.0 +RELEASE=3.1 VERSION=3.0 -PKGREL=6 +PKGREL=9 PACKAGE=libpve-common-perl @@ -13,6 +13,8 @@ MAN1DIR=${MANDIR}/man1/ PERLDIR=${PREFIX}/share/perl5 ARCH=all +GITVERSION:=$(shell cat .git/refs/heads/master) + DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb all: ${DEB} @@ -27,6 +29,7 @@ deb ${DEB}: rm -rf build rsync -a data/ 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 lintian ${DEB}