5
0
mirror of git://git.proxmox.com/git/spiceterm.git synced 2025-01-08 21:18:03 +03:00

add upload target

This commit is contained in:
Dietmar Maurer 2013-12-10 12:21:37 +01:00
parent adc5354846
commit 6c31241b12

View File

@ -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