skip pickle files when running make scan
[sfa.git] / Makefile
index bc38c44..63af466 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -96,7 +96,7 @@ force:
 ##########
 # a lot of stuff in the working dir is just noise
 scan:
-       @find . -type f | egrep -v '^\./\.|/\.git/|/\.svn/|TAGS|AA-|~$$|egg-info|\.(py[co]|doc|html|pdf|png|svg|out|bak|dg)$$' 
+       @find . -type f | egrep -v '^\./\.|/\.git/|/\.svn/|TAGS|AA-|~$$|egg-info|\.(py[co]|doc|html|pdf|png|svg|out|bak|dg|pickle)$$' 
 tags:  
        $(MAKE) scan | xargs etags
 
@@ -136,7 +136,7 @@ CLIENTS = $(shell ls sfa/clientbin/*.py)
 
 BINS = ./config/sfa-config-tty ./config/gen-sfa-cm-config.py \
        ./sfa/server/sfa-start.py \
-       ./sfa/importer/sfa-import.py ./sfa/importer/sfa-nuke.py \
+       ./sfa/clientbin/sfaadmin.py \
        $(CLIENTS)
 
 synccheck: 
@@ -149,7 +149,7 @@ endif
 
 
 synclib: synccheck
-       +$(RSYNC) --relative ./sfa/ $(SSHURL)/usr/lib\*/python2.\*/site-packages/
+       +$(RSYNC) --relative ./sfa/ --exclude migrations $(SSHURL)/usr/lib\*/python2.\*/site-packages/
 syncbin: synccheck
        +$(RSYNC)  $(BINS) $(SSHURL)/usr/bin/
 syncinit: synccheck
@@ -172,12 +172,6 @@ syncfast: synclib syncrestart
 
 .PHONY: synccheck synclib syncbin syncconfig synctest syncrestart sync syncfast
 
-syncrica: synccheck
-       +$(RSYNC) --relative ./sfa/federica ./sfa/generic/fd.py ./sfa/rspecs/versions/federica.py $(SSHURL)/usr/lib\*/python2.\*/site-packages/
-       $(SSHCOMMAND) exec service sfa restart
-
-.PHONY: syncrica
-
 ##########
 CLIENTLIBFILES= \
 sfa/examples/miniclient.py \