X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=1bfb2d9abb75af9ccd5c78818ee64712ab5910f8;hp=c9402549a4502da467bea9ce87994137f9c920d8;hb=28dfcc31798c5aee7d8e58ba3fecb35e4d88fbe9;hpb=50f6a3fc192a3d6dc55e8a4a4fcccfb130423b04 diff --git a/Makefile b/Makefile index c940254..1bfb2d9 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -RELEASE=2.0 +RELEASE=3.1 -VERSION=1.0 -PKGREL=14 +VERSION=3.0 +PKGREL=8 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}