From 6c31241b123540dc8b0a2f537aba913bd5eab4f9 Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 10 Dec 2013 12:21:37 +0100 Subject: [PATCH] add upload target --- Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Makefile b/Makefile index 9575b5b..9d5c52d 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,17 @@ ${DEB} deb: dinstall: ${DEB} dpkg -i ${DEB} + +.PHONY: upload +upload: ${DEB} + umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw + mkdir -p /pve/${RELEASE}/extra + rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb + rm -f /pve/${RELEASE}/extra/Packages* + cp ${DEB} /pve/${RELEASE}/extra + cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz + umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro + .PHONY: test test: spiceterm ./spiceterm --noauth --keymap de & remote-viewer spice://localhost?tls-port=5900 -- 2.39.5