X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=79b71c5a7712a7c08fd4b1f37576131200476ccf;hb=862dfa7f7b8cce8c17e80c42aedd8d500ea86cb6;hp=0bacbae2352ccae3792acf928c3434c0bd2c218f;hpb=34ea36029b1a4baa547f7eb28f8dd6d0ec0f0c38;p=sfa.git diff --git a/Makefile b/Makefile index 0bacbae2..79b71c5a 100644 --- a/Makefile +++ b/Makefile @@ -37,6 +37,7 @@ python-install: python setup.py install --root=$(DESTDIR) chmod 444 $(DESTDIR)/etc/sfa/default_config.xml rm -rf $(DESTDIR)/usr/lib*/python*/site-packages/*egg-info + rm -rf $(DESTDIR)/usr/lib*/python*/site-packages/sfa/storage/migrations (cd $(DESTDIR)/usr/bin ; ln -s sfi.py sfi; ln -s sfascan.py sfascan) python-clean: version-clean @@ -159,6 +160,10 @@ synctest: synccheck syncrestart: synccheck $(SSHCOMMAND) exec service sfa restart +syncmig: + +$(RSYNC) ./sfa/storage/migrations $(SSHURL)/usr/share/sfa/ + + # full-fledged sync: synclib syncbin syncinit syncconfig syncrestart # 99% of the time this is enough