X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=Makefile;h=30b08bb294d8245cea0a80bee2d063677135ae5e;hb=d6c841762b20d5a66b3131e9be0d70ae2795667f;hp=66efc89e9696224d2f586fdc1d56f6813cce10f4;hpb=026c663ebe3b49badbe0b1d1b50c73c462494461;p=pve-container.git diff --git a/Makefile b/Makefile index 66efc89..30b08bb 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,8 @@ -VERSION=1.0 +VERSION=2.0 PACKAGE=pve-container -PKGREL=85 +PKGREL=31 -GITVERSION:=$(shell cat .git/refs/heads/master) +GITVERSION:=$(shell git rev-parse HEAD) ARCH:=all @@ -15,19 +15,20 @@ dinstall: ${DEB} dpkg -i ${DEB} .PHONY: deb -deb ${DEB}: +deb: ${DEB} +${DEB}: rm -rf build mkdir build 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 @@ -35,4 +36,4 @@ distclean: clean .PHONY: upload upload: ${DEB} - tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload + tar cf - ${DEB} | ssh -X repoman@repo.proxmox.com -- upload --product pve --dist stretch