mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-20 21:43:09 +00:00
makefile: change upload-figleaf target to create a 'current' link
This commit is contained in:
parent
ccd92ddee8
commit
715f44110f
@ -151,8 +151,17 @@ figleaf-output:
|
||||
|
||||
# 'upload-figleaf' is meant to be run with an UPLOAD_TARGET=host:/dir setting
|
||||
ifdef UPLOAD_TARGET
|
||||
|
||||
ifndef UPLOAD_HOST
|
||||
$(error UPLOAD_HOST must be set when using UPLOAD_TARGET)
|
||||
endif
|
||||
ifndef COVERAGEDIR
|
||||
$(error COVERAGEDIR must be set when using UPLOAD_TARGET)
|
||||
endif
|
||||
|
||||
upload-figleaf:
|
||||
rsync -a coverage-html/ $(UPLOAD_TARGET)
|
||||
ssh $(UPLOAD_HOST) make update-tahoe-figleaf $(COVERAGEDIR)
|
||||
else
|
||||
upload-figleaf:
|
||||
echo "this target is meant to be run with UPLOAD_TARGET=host:/path/"
|
||||
|
Loading…
Reference in New Issue
Block a user