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.3 by tdb, Wed Mar 12 09:51:02 2003 UTC vs.
Revision 1.9 by tdb, Tue Feb 10 20:28:13 2004 UTC

# Line 51 | Line 51 | gnubuild() {
51      SOURCEDIR=$1
52      DESTDIR=$2
53      LIBTOOL=$3
54 +    CONFIGUREARGS=$4
55      cd $SOURCEDIR
56      if [ "X$TAG" != "X" ]; then
57          cvs -d $CVSROOT update -dPr $TAG
# Line 63 | Line 64 | gnubuild() {
64          libtoolize -c
65      fi
66      automake -a -c
67 <    ./configure
67 >    ./configure $CONFIGUREARGS
68      gnumake dist
69      TARBALL=`ls *.tar.gz`
70      mkdir -p $DESTDIR
# Line 101 | Line 102 | echo "+ Cleaning up"
102   rm -Rf cms
103   rm -Rf $BUILDS/*
104  
105 + # make sure our local cvs is up-to-date
106 + /usr/local/packages/cvsup/bin/cvsup -L 2 /u1/i-scream/cvsup/supfile
107 +
108   # pull the latest source from our local cvs
109   echo "+ Updating CVS"
110   cvs -d $CVSROOT checkout cms/source
# Line 121 | Line 125 | for PROG in $PROGS; do
125          conient)
126              iscreambuild $CMSSOURCE/conient $BUILDS/conient yes
127              ;;
124        dbreporter)
125            iscreambuild $CMSSOURCE/reports/DBReporter $BUILDS/dbreporter yes
126            ;;
128          rrdgraphing)
129              iscreambuild $CMSSOURCE/reports/rrdgraphing $BUILDS/rrdgraphing no
130              ;;
131          php)
132              iscreambuild $CMSSOURCE/reports/php $BUILDS/php no
133              ;;
133        winhost)
134            iscreambuild $CMSSOURCE/host/winhost $BUILDS/winhost no
135            ;;
134          libstatgrab)
135              gnubuild $CMSSOURCE/libstatgrab $BUILDS/libstatgrab yes
136              ;;
137          ihost)
138 <            gnubuild $CMSSOURCE/host/ihost $BUILDS/ihost no
138 >            gnubuild $CMSSOURCE/ihost $BUILDS/ihost no
139              ;;
140 +        libukcprog)
141 +            gnubuild $CMSSOURCE/libukcprog $BUILDS/libukcprog yes
142 +            ;;
143 +        idar)
144 +            gnubuild $CMSSOURCE/idar $BUILDS/idar no --with-curses-prefix=/usr/local/packages/ncurses
145 +            ;;
146      esac
147   done
148  
149   # sync builds to the web tree
150   echo "+ Copying to snapshots web tree"
151 < echo rsync -rlpogtxHv $BUILDS/. $WEBSNAPSHOTS
151 > rsync -rlpogtxHv $BUILDS/. $WEBSNAPSHOTS
152  
153   echo "+ Done"
154  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines