with a slow connection, make fastsync does only the python code
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 15 Nov 2011 15:40:14 +0000 (16:40 +0100)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Tue, 15 Nov 2011 15:40:14 +0000 (16:40 +0100)
Makefile

index 72fa41a..701c329 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -146,5 +146,10 @@ else
        $(SSHCOMMAND) exec service sfa restart
 endif
 
+# 99% of the time this is enough
+fastsync:
+       +$(RSYNC) ./sfa/ $(SSHURL)/usr/lib\*/python2.\*/site-packages/sfa/
+       $(SSHCOMMAND) exec service sfa restart
+
 .PHONY: sync
 ##########