added some documentation
authorJan Pospíšil <honik@ntc.zcu.cz>
Fri, 21 Apr 2006 16:17:15 +0000 (16:17 +0000)
committerJan Pospíšil <honik@ntc.zcu.cz>
Fri, 21 Apr 2006 16:17:15 +0000 (16:17 +0000)
CVSROOT can be already set in the env

org.glite.lb/doc/README.lb4vdt [new file with mode: 0644]
org.glite.lb/lb4vdt/LB_install.sh

diff --git a/org.glite.lb/doc/README.lb4vdt b/org.glite.lb/doc/README.lb4vdt
new file mode 100644 (file)
index 0000000..d07b525
--- /dev/null
@@ -0,0 +1,16 @@
+These are the instructions how to build LB for VDT:
+
+$ mkdir lb4vdt
+$ cd lb4vdt
+$ export CVSROOT=:pserver:anonymous@jra1mw.cvs.cern.ch:/cvs/jra1mw  
+$ cvs co org.glite.lb                                                     
+
+you may need to edit ./org.glite.lb/lb4vdt/Makefile.inc     
+to specify some paths (some of them should be set automaticaly,  
+e.g. by VDT_LOCATION)
+
+and then (still from the top directory) run
+
+$ ./org.glite.lb/lb4vdt/LB_install.sh 2>&1 | tee log
+
+:)
index 7cd1139..6f6df74 100755 (executable)
@@ -13,8 +13,11 @@ if [ ! -f ${LB4VDTDIR}/Makefile.inc ]; then
    exit 1
 fi
 
-export CVSROOT=:pserver:anonymous@jra1mw.cvs.cern.ch:/cvs/jra1mw
-#export CVSROOT=:ext:jpospi@jra1mw.cvs.cern.ch:/cvs/jra1mw
+if [ -z "${CVSROOT}" ]; then
+       echo "XXX"
+       export CVSROOT=:pserver:anonymous@jra1mw.cvs.cern.ch:/cvs/jra1mw
+#      export CVSROOT=:ext:jpospi@jra1mw.cvs.cern.ch:/cvs/jra1mw
+fi
 
 dep_modules="org.glite.wms-utils.jobid
 org.gridsite.core"
@@ -82,7 +85,7 @@ do
         mkdir -p build
         echo "Entering directory ${TOPDIR}/$i/build"
         cd build 
-        ln -fsv ../Makefile Makefile
+        ln -fsv ../Makefile 
 #        ln -fsv ../../Makefile.inc Makefile.inc
         ln -fsv ${LB4VDTDIR}/Makefile.inc 
         echo "Building"