Setting tag plewww-4.3-67
[plewww.git] / Makefile
index af50fcb..148a8aa 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -23,7 +23,7 @@ SSHCOMMAND:=ssh root@$(PLC)
 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)
 
@@ -39,7 +39,7 @@ endif
 
 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"