[Lunar-commits] CVS: lunar-tools Makefile,1.11,1.12

Auke Kok sofar at lunar-linux.org
Fri Nov 26 15:09:49 UTC 2004


Update of /var/cvs/lunar/lunar-tools
In directory espresso.foo-projects.org:/home/sofar/active/lunar-tools

Modified Files:
	Makefile 
Log Message:
Adding clad - CLuster ADmin. Written to use ssh-agent and automatically initializes hosts. Allows you to remotely admin clusters of PC's easily, very very easily I would say. 


Index: Makefile
===================================================================
RCS file: /var/cvs/lunar/lunar-tools/Makefile,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- Makefile	21 Nov 2004 22:33:38 -0000	1.11
+++ Makefile	26 Nov 2004 15:09:16 -0000	1.12
@@ -7,18 +7,20 @@
 # i.e. 2004.9 2004.10 2004.11 ...
 VERSION = 2004.5
 
-PROGRAMS = lids/lids luser/luser lnet/lnet lservices/lservices lmodules/lmodules
+PROGRAMS = lids/lids luser/luser lnet/lnet lservices/lservices lmodules/lmodules clad/clad
 SBINDIR = /usr/sbin/
 BINDIR = /usr/bin/
 MANDIR = /usr/share/man/
+PROFILEDDIR = /etc/profile.d/
 MANPAGES = lnet/lnet.8
+PROFILEDFILES = clad/clad.rc
 
 all:
 install:
+	if [ ! -d "${SBINDIR}" ] ; then \
+	    mkdir -p ${SBINDIR} ; \
+	fi ; \
 	for PROGRAM in ${PROGRAMS} ; do \
-	    if [ ! -d "${SBINDIR}" ] ; then \
-	        mkdir -p ${SBINDIR} ; \
-	    fi ; \
 	    install -m755 $${PROGRAM} ${SBINDIR} ; \
 	done ; \
 	for MANPAGE in ${MANPAGES} ; do \
@@ -27,6 +29,12 @@
 	        mkdir -p ${MANDIR}man$$EXT ; \
 	    fi ; \
 	    install -m644 $${MANPAGE} ${MANDIR}man$$EXT/ ; \
+	done ; \
+	if [ ! -d "${PROFILEDDIR}" ] ; then \
+	    mkdir -p ${PROFILEDDIR} ; \
+	fi ; \
+	for RCFILE in ${PROFILEDFILES} ; do \
+	    install -m644 $${RCFILE} ${PROFILEDDIR} ; \
 	done
 
 release:



More information about the Lunar-commits mailing list