X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=42fe6c5733f19a34af4df1a640ab26e48d431b56;hp=bd751d1adca554aa98f38bea869a1a7ec123b060;hb=2f13cbb5a6557da77c644e112c09d797066496ea;hpb=7238ea8dbf9922c4ec542eefe31bc2e3173939e4 diff --git a/Makefile b/Makefile index bd751d1..42fe6c5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -RELEASE=2.3 +RELEASE=3.1 -VERSION=1.0 -PKGREL=48 +VERSION=3.0 +PKGREL=10 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}