X-Git-Url: https://git.proxmox.com/?p=pve-common.git;a=blobdiff_plain;f=Makefile;h=89d717724742a3e8ab6dcf4d5f497aff9e765368;hp=2e9400fd4751e7b34d62221d38953280c050763d;hb=b308c8d42927fc357af62d7ecac5eb05a79119a1;hpb=a9da67124dec914c9316ba224c1938af062d3e1b diff --git a/Makefile b/Makefile index 2e9400f..89d7177 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,5 @@ -RELEASE=4.3 - -VERSION=4.0 -PKGREL=79 +VERSION=5.0 +PKGREL=19 PACKAGE=libpve-common-perl @@ -13,7 +11,7 @@ MAN1DIR=${MANDIR}/man1/ PERLDIR=${PREFIX}/share/perl5 ARCH=all -GITVERSION:=$(shell cat .git/refs/heads/master) +GITVERSION:=$(shell git rev-parse HEAD) DEB=${PACKAGE}_${VERSION}-${PKGREL}_${ARCH}.deb @@ -31,12 +29,12 @@ deb ${DEB}: rsync -a src/ 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 + cd build; dpkg-buildpackage -b -us -uc lintian ${DEB} .PHONY: clean clean: - rm -rf *~ *.deb *.changes build ${PACKAGE}-*.tar.gz + rm -rf *~ *.deb *.changes build ${PACKAGE}-*.tar.gz *.buildinfo .PHONY: distclean distclean: clean @@ -47,5 +45,5 @@ check: .PHONY: upload upload: ${DEB} - tar cf - ${DEB}|ssh repoman@repo.proxmox.com upload + tar cf - ${DEB}|ssh repoman@repo.proxmox.com -- upload --product pve,pmg --dist stretch