# HG changeset patch # User Tormod Volden # Date 1422052528 -3600 # Node ID 7a78f43d97c1b7d6a3496795cda14372811cf21b # Parent 3f25a36416a3b1864dbfa14c60f833b1287fc2e0 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. diff -r 3f25a36416a3 -r 7a78f43d97c1 makefile --- 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 ""