From: Thierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Date: Tue, 19 Jan 2010 21:34:23 +0000 (+0000)
Subject: tweaked
X-Git-Tag: MyPLC-5.0-1^2~11
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=19cc798519e3e6b484eeee4ab2db83a4d87a3038;p=myplc.git

tweaked
---

diff --git a/Makefile b/Makefile
index 3b9e203..efd49d0 100644
--- a/Makefile
+++ b/Makefile
@@ -2,14 +2,6 @@
 # $Id$
 #
 
-BINARIES = plc-config plc-config-tty db-config dns-config \
-	clean-empty-dirs.py mtail.py \
-	plc-check-ssl-peering.py plc-map.py plc-kml.py plc-orphan-accounts.py \
-	support-scripts/renew_reminder.py support-scripts/gen_aliases.py 
-INIT_SCRIPTS = api bootcd db dns functions gpg httpd mail network packages postgresql ssh ssl
-
-INITS=$(addprefix plc.d/,$(INIT_SCRIPTS))
-
 ##########
 tags:
 	find . -type f | egrep -v '.svn/|~$$' | xargs etags
@@ -47,8 +39,9 @@ ifeq (,$(SSHURL))
 	@exit 1
 else
 	+$(RSYNC) plc.init $(SSHURL)/etc/init.d/plc
-	+$(RSYNC) $(BINARIES) $(SSHURL)/usr/bin
-	+$(RSYNC) $(INITS) $(SSHURL)/etc/plc.d
+	+$(RSYNC) bin/ $(SSHURL)/usr/bin/
+	+$(RSYNC) plc.d/ $(SSHURL)/etc/plc.d/
+	+$(RSYNC) db-config.d/ $(SSHURL)/etc/planetlab/db-config.d/
 	+$(RSYNC) plc_config.py $(SSHURL)/usr/lib/python2.5/site-packages/plc_config.py
 	+$(RSYNC) default_config.xml $(SSHURL)/etc/planetlab/default_config.xml
 	@echo XXXXXXXX you might need to run ssh root@$(PLC) service plc start