changeset 2200:c4ef83e093f8

Updated the top level makefile to do nightly builds
author boisy
date Sat, 14 Mar 2009 14:49:16 +0000
parents eab970e382e2
children e64d2a5b8c87
files makefile
diffstat 1 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/makefile	Sat Mar 14 14:16:24 2009 +0000
+++ b/makefile	Sat Mar 14 14:49:16 2009 +0000
@@ -13,8 +13,13 @@
 
 # Clean all components
 clean:  dskclean
+	-$(RM) nitros9project.zip dsks/*.dsk
 	$(foreach dir, $(dirs), ($(CD) $(dir); make clean);)
 
+# Do CVS update
+cvs:
+	cvs update -d
+
 # Make DSK images
 dsk:	all
 	$(foreach dir, $(dirs), ($(CD) $(dir); make dsk);)
@@ -34,7 +39,7 @@
 dw3:
 	$(ARCHIVE) nitros9_drivewire3.zip $(dw3dsk)
 
-nightly: clean dskcopy
-	-$(RM) nitros9project.zip dsks/*.dsk
-	cvs update -d
-	($(CD) dsks; zip ../nitros9project *)
+nightly: cvs clean dskcopy
+	$(ARCHIVE) nitros9project dsks/*
+	scp nitros9project.zip boisy@nitros9.org:/home/nitros9/public_html
+