--- misc/scripts/shell/build.sh 2004/03/22 01:02:37 1.13 +++ misc/scripts/shell/build.sh 2004/03/31 21:15:58 1.14 @@ -4,7 +4,7 @@ # builds new-style dists from cvs source, and puts them # in a single location for download (eg. snapshots) # -# $Id: build.sh,v 1.13 2004/03/22 01:02:37 tdb Exp $ +# $Id: build.sh,v 1.14 2004/03/31 21:15:58 tdb Exp $ # base directory for staging STAGING=/u1/i-scream/staging @@ -15,7 +15,7 @@ exec > $LOG 2>&1 set -x # various directories -CMSSOURCE=$STAGING/cms/source +PROJECTS=$STAGING/projects BUILDS=$STAGING/builds DISTFILES=$STAGING/distfiles CVSROOT=/u1/i-scream/cvsmirror @@ -120,7 +120,7 @@ echo "+ Build started on `date`" # remove any old files so we have a fresh start echo "+ Cleaning up" -rm -Rf cms +rm -Rf projects rm -Rf $BUILDS/* # make sure our local cvs is up-to-date @@ -128,44 +128,44 @@ rm -Rf $BUILDS/* # pull the latest source from our local cvs echo "+ Updating CVS" -cvs -d $CVSROOT checkout cms/source -cd $CMSSOURCE +cvs -d $CVSROOT checkout projects +cd $PROJECTS # Build all listed programs for PROG in $PROGS; do case $PROG in server) - iscreambuild $CMSSOURCE/server $BUILDS/server yes + iscreambuild $PROJECTS/cms/source/server $BUILDS/server yes ;; util) - iscreambuild $CMSSOURCE/util $BUILDS/util yes + iscreambuild $PROJECTS/cms/source/util $BUILDS/util yes ;; corbaservices) - iscreambuild $CMSSOURCE/corbaservices $BUILDS/corbaservices yes + iscreambuild $PROJECTS/cms/source/corbaservices $BUILDS/corbaservices yes ;; conient) - iscreambuild $CMSSOURCE/conient $BUILDS/conient yes + iscreambuild $PROJECTS/cms/source/conient $BUILDS/conient yes ;; rrdgraphing) - iscreambuild $CMSSOURCE/reports/rrdgraphing $BUILDS/rrdgraphing no + iscreambuild $PROJECTS/cms/source/reports/rrdgraphing $BUILDS/rrdgraphing no ;; php) - iscreambuild $CMSSOURCE/reports/php $BUILDS/php no + iscreambuild $PROJECTS/cms/source/reports/php $BUILDS/php no ;; libstatgrab) - gnubuild $CMSSOURCE/libstatgrab $BUILDS/libstatgrab yes + gnubuild $PROJECTS/libstatgrab $BUILDS/libstatgrab yes ;; ihost) - gnubuild $CMSSOURCE/ihost $BUILDS/ihost no --with-libstatgrab-prefix=/usr/local/packages/libstatgrab + gnubuild $PROJECTS/cms/source/ihost $BUILDS/ihost no --with-libstatgrab-prefix=/usr/local/packages/libstatgrab ;; libukcprog) - gnubuild $CMSSOURCE/libukcprog $BUILDS/libukcprog yes + gnubuild $PROJECTS/libukcprog $BUILDS/libukcprog yes ;; idar) - gnubuild $CMSSOURCE/idar $BUILDS/idar no --with-curses-prefix=/usr/local/packages/ncurses + gnubuild $PROJECTS/cms/source/idar $BUILDS/idar no --with-curses-prefix=/usr/local/packages/ncurses ;; pystatgrab) - pydistbuild $CMSSOURCE/pystatgrab $BUILDS/pystatgrab + pydistbuild $PROJECTS/pystatgrab $BUILDS/pystatgrab ;; esac done