[pve-devel] r6113 - pve-access-control/trunk

svn-commits at proxmox.com svn-commits at proxmox.com
Fri Jun 17 13:18:07 CEST 2011


Author: dietmar
Date: 2011-06-17 13:18:07 +0200 (Fri, 17 Jun 2011)
New Revision: 6113

Modified:
   pve-access-control/trunk/Makefile
Log:
add uploads target


Modified: pve-access-control/trunk/Makefile
===================================================================
--- pve-access-control/trunk/Makefile	2011-06-17 09:51:05 UTC (rev 6112)
+++ pve-access-control/trunk/Makefile	2011-06-17 11:18:07 UTC (rev 6113)
@@ -49,6 +49,16 @@
 	#rm -rf debian
 	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 debian *~ *.deb ${PACKAGE}-*.tar.gz




More information about the pve-devel mailing list