X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=302f02fcd85bc65bd2732bbabad9d64027b200a3;hp=7f077835dda557397fe89f2b2e2e2b096d03a4a1;hb=16d74d09ca81b1090d54a736fef057010a36538f;hpb=a413a515c5937862029c30c5171b935e3abd6824 diff --git a/Makefile b/Makefile index 7f07783..302f02f 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -RELEASE=2.0 +RELEASE=3.3 -VERSION=1.0 -PKGREL=6 +VERSION=3.0 +PKGREL=23 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}