From: Dietmar Maurer Date: Thu, 14 Jul 2016 05:07:11 +0000 (+0200) Subject: add dinstall and upload target X-Git-Url: https://git.proxmox.com/?p=pve-spice-protocol.git;a=commitdiff_plain;h=fdd3e10e0d8d18ee05225cb1b0f0d97016cd088b add dinstall and upload target --- diff --git a/Makefile b/Makefile index 9c8ce7a..cb657bc 100644 --- a/Makefile +++ b/Makefile @@ -14,12 +14,21 @@ DEB=${PACKAGE}_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb all: ${DEB} +.PHONY: dinstall +dinstall: deb + dpkg -i ${DEB} + +.PHONY: deb ${DEB} deb: ${PKGSRC} rm -rf ${PKGDIR} tar xf ${PKGSRC} cp -a debian ${PKGDIR}/debian cd ${PKGDIR}; dpkg-buildpackage -rfakeroot -b -us -uc +.PHONY: upload +upload: ${DEB} + tar cf - ${DEB}|ssh repoman@repo.proxmox.com upload + distclean: clean .PHONY: clean