X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=476a7474a523c1f3fde5934b6be3c7fabcd4dab8;hp=5a963381f7d23fda1b1bba7ac2626a54048069e3;hb=844a246d4434d5d346c94c73227ca1efd818727e;hpb=d2e14098f727b851754aa781256006063ed74661 diff --git a/Makefile b/Makefile index 5a96338..476a747 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -RELEASE=2.3 +RELEASE=3.2 -VERSION=1.0 -PKGREL=44 +VERSION=3.0 +PKGREL=18 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}