Remove vserver dependency
[nodemanager.git] / Makefile
index f5996ee..08c3acf 100644 (file)
--- 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