X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=02941b837b188aed22191a60b39af6e427a65fd2;hp=0a34031f4f866b7f4090cdacfec96275dbb8149f;hb=997f65d9b529df72641dfa5fc8602b7774f333fc;hpb=fb572a93953215a4db15513353f1af517a17eb50 diff --git a/Makefile b/Makefile index 0a34031..02941b8 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -RELEASE=2.3 +RELEASE=3.1 -VERSION=1.0 -PKGREL=42 +VERSION=3.0 +PKGREL=7 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}