X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=6f4d83c15185de139b2a6988fe13005cf9be5685;hp=b7dfb0f7a1038e8e6a75a878a9fa6a2b0705cb28;hb=363a51a0d49be69b3b6db2487f02688abb17c590;hpb=88955a2e691484a69c2fe140510b3a03768db2b2 diff --git a/Makefile b/Makefile index b7dfb0f..6f4d83c 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -RELEASE=2.2 +RELEASE=3.3 -VERSION=1.0 -PKGREL=34 +VERSION=3.0 +PKGREL=22 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}