X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=69a0007a43869b275ea441bd9ab447c029d7f8de;hp=4c7aaaf8cbf53709d49a090bb27d24e2c9098142;hb=0e5ad0c72bab3bb743ccd96ba97a8a9e86ff14db;hpb=6c3aef09cb56c7fa411b4c6c806d96a2fade1dd9 diff --git a/Makefile b/Makefile index 4c7aaaf..69a0007 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ -RELEASE=3.0 +RELEASE=3.3 VERSION=3.0 -PKGREL=5 +PKGREL=20 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}