####################
-########## 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
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
+
+
+