X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=f722deefb60830031461a3ec73dfac4fdd8482b8;hb=812a2bbccf6a8b2d47a576639fab4c5fb3ea61a6;hp=7137be0388de1696bee5e92df129560574581fd4;hpb=6de8556c1cca96802aad229cb258c9c6ba54df41;p=pve-container.git diff --git a/Makefile b/Makefile index 7137be0..f722dee 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -VERSION=1.0 +VERSION=2.0 PACKAGE=pve-container -PKGREL=94 +PKGREL=23 -GITVERSION:=$(shell cat .git/refs/heads/master) +GITVERSION:=$(shell git rev-parse HEAD) ARCH:=all @@ -22,13 +22,13 @@ ${DEB}: rsync -a src/ build rsync -a debian/ build/debian echo "git clone git://git.proxmox.com/git/pve-container\\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: make -C src clean - rm -rf build *.deb ${PACKAGE}-*.tar.gz *.changes + rm -rf build *.deb ${PACKAGE}-*.tar.gz *.changes *.buildinfo find . -name '*~' -exec rm {} ';' .PHONY: distclean @@ -36,4 +36,4 @@ distclean: clean .PHONY: upload upload: ${DEB} - tar cf - ${DEB} | ssh repoman@repo.proxmox.com -- upload --product pve --dist jessie + tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch