ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/misc/scripts/shell/build.sh
(Generate patch)

Comparing misc/scripts/shell/build.sh (file contents):
Revision 1.12 by tdb, Sun Mar 21 19:20:34 2004 UTC vs.
Revision 1.15 by tdb, Thu Feb 10 17:57:59 2005 UTC

# Line 15 | Line 15 | exec > $LOG 2>&1
15   set -x
16  
17   # various directories
18 < CMSSOURCE=$STAGING/cms/source
18 > PROJECTS=$STAGING/projects
19   BUILDS=$STAGING/builds
20   DISTFILES=$STAGING/distfiles
21   CVSROOT=/u1/i-scream/cvsmirror
# Line 34 | Line 34 | iscreambuild() {
34      else
35          cvs2cl --stdout --no-wrap -r -t -w -S -g "-d $CVSROOT" -g "-q" > build/ChangeLog
36      fi
37 <    LIBRARIES=eval `grep "LIBRARIES=" configure`
37 >    LIBRARIES=`eval \`grep "LIBRARIES=" configure\``
38      for LIB in $LIBRARIES; do
39          fetchlib $LIB
40          cp $DISTFILES/$LIB build/lib
# Line 106 | Line 106 | fetchlib() {
106   }
107  
108   # Full set of programs to be built
109 < PROGS="server util corbaservices conient dbreporter rrdgraphing php winhost libstatgrab ihost"
109 > PROGS="server util corbaservices conient rrdgraphing php libstatgrab ihost libukcprog idar pystatgrab"
110  
111   # Read command line args
112   if [ "X$1" != "X" ]; then
# Line 120 | Line 120 | echo "+ Build started on `date`"
120  
121   # remove any old files so we have a fresh start
122   echo "+ Cleaning up"
123 < rm -Rf cms
123 > rm -Rf projects
124   rm -Rf $BUILDS/*
125  
126   # make sure our local cvs is up-to-date
# Line 128 | Line 128 | rm -Rf $BUILDS/*
128  
129   # pull the latest source from our local cvs
130   echo "+ Updating CVS"
131 < cvs -d $CVSROOT checkout cms/source
132 < cd $CMSSOURCE
131 > cvs -d $CVSROOT checkout projects
132 > cd $PROJECTS
133  
134   # Build all listed programs
135   for PROG in $PROGS; do
136      case $PROG in
137          server)
138 <            iscreambuild $CMSSOURCE/server $BUILDS/server yes
138 >            iscreambuild $PROJECTS/cms/source/server $BUILDS/server yes
139              ;;
140          util)
141 <            iscreambuild $CMSSOURCE/util $BUILDS/util yes
141 >            iscreambuild $PROJECTS/cms/source/util $BUILDS/util yes
142              ;;
143          corbaservices)
144 <            iscreambuild $CMSSOURCE/corbaservices $BUILDS/corbaservices yes
144 >            iscreambuild $PROJECTS/cms/source/corbaservices $BUILDS/corbaservices yes
145              ;;
146          conient)
147 <            iscreambuild $CMSSOURCE/conient $BUILDS/conient yes
147 >            iscreambuild $PROJECTS/cms/source/conient $BUILDS/conient yes
148              ;;
149          rrdgraphing)
150 <            iscreambuild $CMSSOURCE/reports/rrdgraphing $BUILDS/rrdgraphing no
150 >            iscreambuild $PROJECTS/cms/source/reports/rrdgraphing $BUILDS/rrdgraphing no
151              ;;
152          php)
153 <            iscreambuild $CMSSOURCE/reports/php $BUILDS/php no
153 >            iscreambuild $PROJECTS/cms/source/reports/php $BUILDS/php no
154              ;;
155          libstatgrab)
156 <            gnubuild $CMSSOURCE/libstatgrab $BUILDS/libstatgrab yes
156 >            gnubuild $PROJECTS/libstatgrab $BUILDS/libstatgrab yes
157              ;;
158          ihost)
159 <            gnubuild $CMSSOURCE/ihost $BUILDS/ihost no --with-libstatgrab-prefix=/usr/local/packages/libstatgrab
159 >            gnubuild $PROJECTS/cms/source/ihost $BUILDS/ihost no --with-libstatgrab-prefix=/usr/local/packages/libstatgrab
160              ;;
161          libukcprog)
162 <            gnubuild $CMSSOURCE/libukcprog $BUILDS/libukcprog yes
162 >            gnubuild $PROJECTS/libukcprog $BUILDS/libukcprog yes
163              ;;
164          idar)
165 <            gnubuild $CMSSOURCE/idar $BUILDS/idar no --with-curses-prefix=/usr/local/packages/ncurses
165 >            gnubuild $PROJECTS/cms/source/idar $BUILDS/idar no --with-curses-prefix=/usr/local/packages/ncurses
166              ;;
167          pystatgrab)
168 <            pydistbuild $CMSSOURCE/pystatgrab $BUILDS/pystatgrab
168 >            pydistbuild $PROJECTS/pystatgrab $BUILDS/pystatgrab
169              ;;
170      esac
171   done

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines