5
0
mirror of git://git.proxmox.com/git/novnc-pve.git synced 2024-12-22 17:34:20 +03:00

add upload/distclean target to makefile

This commit is contained in:
Dietmar Maurer 2014-06-13 09:38:05 +02:00
parent 904d5108f7
commit 323d6cacc2

View File

@ -36,6 +36,19 @@ download:
git clone git://github.com/kanaka/noVNC ${NOVNCDIR}
tar czf ${NOVNCSRC} ${NOVNCDIR}
.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: distclean
distclean: clean
.PHONY: clean
clean:
rm -rf *~ debian/*~ *_${ARCH}.deb *_all.deb *.changes *.dsc novnc