2 find . '(' -name '*.py' -o -name 'qemu-*' ')' | grep -v '.svn/' | xargs etags
8 ########## make sync PLCHOST=hostname VSERVER=vservername
11 PLCSSH:=root@$(PLCHOST):$(BUILDNAME)
15 LOCAL_RSYNC_EXCLUDES := --exclude '*.pyc' --exclude 'arg*'
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 PLCHOST and BUILDNAME on the command line"
23 echo " e.g. make sync PLCHOST=private.one-lab.org BUILDNAME=" ; exit 1
25 +$(RSYNC) ./ $(PLCSSH)