2 find . '(' -name '*.py' -o -name 'qemu-*' ')' | grep -v '.svn/' | xargs etags
8 TESTMASTER ?= testmaster.onelab.eu
10 ########## make sync TESTMASTER=hostname BUILD=vservername
12 PLCSSH:=root@$(TESTMASTER):$(BUILD)
15 LOCAL_RSYNC_EXCLUDES := --exclude '*.pyc' --exclude 'arg*' --exclude LocalTestResources.py
16 RSYNC_EXCLUDES := --exclude .svn --exclude CVS --exclude '*~' --exclude TAGS $(LOCAL_RSYNC_EXCLUDES)
17 RSYNC_COND_DRY_RUN := $(if $(findstring n,$(MAKEFLAGS)),--dry-run,)
18 RSYNC := rsync -a -v $(RSYNC_COND_DRY_RUN) $(RSYNC_EXCLUDES)
22 echo "sync: You must define TESTMASTER and BUILD on the command line"
23 echo " e.g. make sync TESTMASTER=testmaster.onelab.eu BUILD=2009.07.10--1l-f8-32" ; exit 1
25 +$(RSYNC) ./ $(PLCSSH)