From 6ed47080c867e3b3bdc5d30e715c033c211769ac Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Thu, 8 Mar 2007 15:28:13 -0700 Subject: [PATCH] Makefile: add an upload-figleaf target, rather than having the buildbot create the rsync command itself --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) 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) -- 2.45.2