]> git.proxmox.com Git - pve-spice-protocol.git/commitdiff
add dinstall and upload target
authorDietmar Maurer <dietmar@proxmox.com>
Thu, 14 Jul 2016 05:07:11 +0000 (07:07 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Thu, 14 Jul 2016 05:07:11 +0000 (07:07 +0200)
Makefile

index 9c8ce7a0dbd50bc7c14980154b708b025ef1a3f1..cb657bc9d575295c8aae3c8d85a4bda9615efc40 100644 (file)
--- 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