review make sync
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 10 Jul 2009 10:16:09 +0000 (10:16 +0000)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 10 Jul 2009 10:16:09 +0000 (10:16 +0000)
system/Makefile

index b3b9f64..6218052 100644 (file)
@@ -5,10 +5,10 @@ tags:
 
 ####################
 
-########## make sync PLCHOST=hostname VSERVER=vservername
-ifdef PLCHOST
+########## make sync TESTMASTER=hostname BUILDNAME=vservername
+ifdef TESTMASTER
 ifdef BUILDNAME
-PLCSSH:=root@$(PLCHOST):$(BUILDNAME)
+PLCSSH:=root@$(TESTMASTER):$(BUILDNAME)
 endif
 endif
 
@@ -19,8 +19,11 @@ RSYNC                        := rsync -a -v $(RSYNC_COND_DRY_RUN) $(RSYNC_EXCLUDES)
 
 sync:
 ifeq (,$(PLCSSH))
-       echo "sync: You must define PLCHOST and BUILDNAME on the command line"
-       echo " e.g. make sync PLCHOST=private.onelab.eu BUILDNAME=" ; exit 1
+       echo "sync: You must define TESTMASTER and BUILDNAME on the command line"
+       echo " e.g. make sync TESTMASTER=testmaster.onelab.eu BUILDNAME=2009.07.10--1l-f8-32" ; exit 1
 else
        +$(RSYNC) ./ $(PLCSSH)
 endif
+
+
+