[pve-devel] r5422 - vncterm/pve2
svn-commits at proxmox.com
svn-commits at proxmox.com
Mon Jan 24 10:52:42 CET 2011
Author: dietmar
Date: 2011-01-24 10:52:41 +0100 (Mon, 24 Jan 2011)
New Revision: 5422
Modified:
vncterm/pve2/Makefile
Log:
add some helpers for our build environment
Modified: vncterm/pve2/Makefile
===================================================================
--- vncterm/pve2/Makefile 2011-01-24 09:45:42 UTC (rev 5421)
+++ vncterm/pve2/Makefile 2011-01-24 09:52:41 UTC (rev 5422)
@@ -1,3 +1,5 @@
+RELEASE=2.0
+
PACKAGE=vncterm
VERSION=1.0
PACKAGERELEASE=1
@@ -69,8 +71,8 @@
rm -f $@
pod2man -n $< -s 1 -r ${VERSION} <$< >$@
-.PHONY: ${DEB}
-${DEB}:
+.PHONY: deb
+${DEB} deb:
make clean
rm -rf dest
mkdir dest
@@ -89,6 +91,16 @@
rm -rf dest
lintian ${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: clean
clean:
rm -rf vncterm vncterm.1 vncterm_*.deb tigervnc *~ ${VNCDIR} vncterm-*.tar.gz
More information about the pve-devel
mailing list