2 find . '(' -name '*.py' -o -name 'qemu-*' ')' | grep -v '.svn/' | xargs etags
5 LOCAL_RSYNC_EXCLUDES := --exclude '*.pyc' --exclude 'arg*'
6 RSYNC_EXCLUDES := --exclude .svn --exclude CVS --exclude '*~' --exclude TAGS $(LOCAL_RSYNC_EXCLUDES)
7 RSYNC_COND_DRY_RUN := $(if $(findstring n,$(MAKEFLAGS)),--dry-run,)
8 RSYNC := rsync -a -v $(RSYNC_COND_DRY_RUN) $(RSYNC_EXCLUDES)
12 echo "sync: You must define target host as RSYNC_URL on the command line"
13 echo " e.g. make sync RSYNC_URL=root@testbox1:workdir" ; exit 1
15 +$(RSYNC) ./ $(RSYNC_URL)/