diff makefile @ 3041:7a78f43d97c1

makefile: Prepare for improved nightly upload burst script If uploader and server are in different time zones, the dates might not match, so let the uploader specify the date to be used. Let the uploader specify the name as well, allowing burst to become a more generic tool.
author Tormod Volden <debian.tormod@gmail.com>
date Fri, 23 Jan 2015 23:35:28 +0100
parents 14b4f2791bb3
children 32191c9fe2cd
line wrap: on
line diff
--- a/makefile	Fri Jan 23 22:04:12 2015 +0100
+++ b/makefile	Fri Jan 23 23:35:28 2015 +0100
@@ -84,7 +84,7 @@
 	$(ARCHIVE) nitros9project $(DSKDIR)/*
 	scp nitros9project.zip $(SOURCEUSER),nitros9@web.sourceforge.net:/home/project-web/nitros9/htdocs/nitros9project-$(shell date +%Y%m%d).zip 
 	ssh $(SOURCEUSER),nitros9@shell.sourceforge.net create
-	ssh $(SOURCEUSER),nitros9@shell.sourceforge.net "./burst"
+	ssh $(SOURCEUSER),nitros9@shell.sourceforge.net "./burst nitros9project $(shell date +%Y%m%d)"
 else
 nightly:
 	@echo ""
@@ -109,7 +109,7 @@
 	$(MAKE) info > $(DSKDIR)/ReadMe
 	$(ARCHIVE) nitros9project $(DSKDIR)/*
 	scp nitros9project.zip $(TESTSSHSERVER):$(TESTSSHDIR)/nitros9project-$(shell date +%Y%m%d).zip
-	ssh $(TESTSSHSERVER) "./burst"
+	ssh $(TESTSSHSERVER) "./burst nitros9project $(shell date +%Y%m%d)"
 else
 nightlytest:
 	@echo ""