X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=ae709ffc1661a41ca629245449e6cf1762651bc9;hb=c715db6f5d7f16760fb20c2ee32fd038713098db;hp=18a0bba37b51a076e783a09bf0eac71f925ff400;hpb=967e5acd74e3f652293fd683fe50ebeea64010f8;p=pve-container.git diff --git a/Makefile b/Makefile index 18a0bba..ae709ff 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ VERSION=2.0 PACKAGE=pve-container -PKGREL=1 +PKGREL=26 -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 stretch + tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch