From: Brian Warner Date: Thu, 8 Mar 2007 22:28:13 +0000 (-0700) Subject: Makefile: add an upload-figleaf target, rather than having the buildbot create the... X-Git-Url: https://git.rkrishnan.org/quickstart.html?a=commitdiff_plain;h=6ed47080c867e3b3bdc5d30e715c033c211769ac;p=tahoe-lafs%2Ftahoe-lafs.git Makefile: add an upload-figleaf target, rather than having the buildbot create the rsync command itself --- diff --git a/Makefile b/Makefile index fdbdbb21..1bd5f638 100644 --- a/Makefile +++ b/Makefile @@ -64,6 +64,16 @@ figleaf-output: # after doing test-figleaf and figleaf-output, point your browser at # coverage-html/index.html +# this command is meant to be run with an +ifdef UPLOAD_TARGET +upload-figleaf: + rsync -a coverage-html/ $(UPLOAD_TARGET) +else +upload-figleaf: + echo "this target is meant to be run with UPLOAD_TARGET=host:/path/" + /bin/false +endif + .figleaf.el: .figleaf $(PP) $(PYTHON) misc/figleaf2el.py .figleaf $(INSTDIR)