X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=Makefile;h=08c3acfedcac8c205a6f23ba3e3c0a6496ec18bd;hb=587e5a30120fef8a5065d5bdf8655c5042fb48f3;hp=f5996ee1b52064d3f96e40304bbb88d193bc04cd;hpb=a869b6b1e66606b97fc654001275bb50b9f63206;p=nodemanager.git diff --git a/Makefile b/Makefile index f5996ee..08c3acf 100644 --- a/Makefile +++ b/Makefile @@ -44,7 +44,7 @@ tags: # specify TESTMASTER and BUILD if the key is not available yet LOCAL_RSYNC_EXCLUDES := --exclude '*.pyc' -RSYNC_EXCLUDES := --exclude .svn --exclude CVS --exclude '*~' --exclude TAGS $(LOCAL_RSYNC_EXCLUDES) +RSYNC_EXCLUDES := --exclude .git --exclude .svn --exclude '*~' --exclude TAGS $(LOCAL_RSYNC_EXCLUDES) RSYNC_COND_DRY_RUN := $(if $(findstring n,$(MAKEFLAGS)),--dry-run,) RSYNC := rsync -e "ssh -i $(NODE).key.rsa" -a -v $(RSYNC_COND_DRY_RUN) $(RSYNC_EXCLUDES) @@ -60,6 +60,7 @@ ifeq (,$(NODEURL)) else +$(RSYNC) ./ $(NODEURL)/usr/share/NodeManager/ +$(RSYNC) ./initscripts/nm $(NODEURL)/etc/init.d/nm + ssh -i $(NODE).key.rsa root@$(NODE) service nm restart endif ### fetching the key