endif
LOCAL_RSYNC_EXCLUDES := --exclude '*.pyc'
-RSYNC_EXCLUDES := --exclude .svn --exclude CVS --exclude '*~' --exclude TAGS $(LOCAL_RSYNC_EXCLUDES)
+RSYNC_EXCLUDES := --exclude .svn --exclude .git --exclude '*~' --exclude TAGS $(LOCAL_RSYNC_EXCLUDES)
RSYNC_COND_DRY_RUN := $(if $(findstring n,$(MAKEFLAGS)),--dry-run,)
RSYNC := rsync -a -v $(RSYNC_COND_DRY_RUN) $(RSYNC_EXCLUDES)
compress:
$(foreach file,\
- $(shell find . -type f -iname "*.js" | grep -v datepicker.js),\
+ $(shell find . -type f -iname "*.js" | grep -v datepicker.js | grep -v raphael),\
$(shell python jsmin.py < $(file) > $(file).new && mv $(file).new $(file)))
@echo "Compressed .js files with jsmin.py"