X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=f7c723e5b2885b46447d4e923ee03ef28a8dfce0;hp=b1dcc2b7b94c9396b208060c605d1bf8b18d2dc4;hb=f6473a5f681e40d8e214c003adacbcfb65e2bde0;hpb=4df6a1644a91ec19c2cd82c875b5424863994354 diff --git a/Makefile b/Makefile index b1dcc2b..f7c723e 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -RELEASE=2.1 +RELEASE=3.1 -VERSION=1.0 -PKGREL=30 +VERSION=3.0 +PKGREL=14 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}