X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=f9bc6740ac417f3b320405fcd2e05e49e33bc08a;hb=517c11257cfee1b17b1e481f17b42d2bac8a9812;hp=f6571e7d18eb17fe7141c3817ebc12d4b566f13c;hpb=ec6d95b45d4647a5954ac367257bcec13bbf45c9;p=pve-common.git diff --git a/Makefile b/Makefile index f6571e7..f9bc674 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -RELEASE=2.2 +RELEASE=3.3 -VERSION=1.0 -PKGREL=36 +VERSION=3.0 +PKGREL=21 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}