X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=d2e44b02a6af08b34d823328453b88113c2a30fa;hb=e06987bcf048598e3d2d2654434cc2e97cc6dd22;hp=b5677aaec2d75bacc962008cb2a3e1abcd625c35;hpb=e30b3a7b16418dc44cbda934459fa1a5a4e74306;p=plcapi.git diff --git a/Makefile b/Makefile index b5677aa..d2e44b0 100644 --- a/Makefile +++ b/Makefile @@ -5,6 +5,7 @@ # Copyright (C) 2005 The Trustees of Princeton University # # $Id$ +# $URL$ # # Metafiles - manage Legacy/ and Accessors by hand @@ -112,12 +113,12 @@ tags: # (*) otherwise, entering through the root context # make sync PLCHOST=testbox1.inria.fr GUEST=vplc03.inria.fr +PLCHOST ?= testplc.onelab.eu + ifdef GUEST -ifdef PLCHOST SSHURL:=root@$(PLCHOST):/vservers/$(GUEST) SSHCOMMAND:=ssh root@$(PLCHOST) vserver $(GUEST) endif -endif ifdef PLC SSHURL:=root@$(PLC):/ SSHCOMMAND:=ssh root@$(PLC) @@ -131,7 +132,7 @@ RSYNC := rsync -a -v $(RSYNC_COND_DRY_RUN) $(RSYNC_EXCLUDES) sync: ifeq (,$(SSHURL)) @echo "sync: You must define, either PLC, or PLCHOST & GUEST, on the command line" - @echo " e.g. make sync PLC=private.one-lab.org" + @echo " e.g. make sync PLC=boot.planetlab.eu" @echo " or make sync PLCHOST=testbox1.inria.fr GUEST=vplc03.inria.fr" @exit 1 else