--- misc/scripts/shell/build.sh 2003/03/29 19:28:37 1.7 +++ misc/scripts/shell/build.sh 2003/04/10 12:47:02 1.8 @@ -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.7 2003/03/29 19:28:37 tdb Exp $ +# $Id: build.sh,v 1.8 2003/04/10 12:47:02 tdb Exp $ # base directory for staging STAGING=/u1/i-scream/staging @@ -51,6 +51,7 @@ gnubuild() { SOURCEDIR=$1 DESTDIR=$2 LIBTOOL=$3 + CONFIGUREARGS=$4 cd $SOURCEDIR if [ "X$TAG" != "X" ]; then cvs -d $CVSROOT update -dPr $TAG @@ -63,7 +64,7 @@ gnubuild() { libtoolize -c fi automake -a -c - ./configure + ./configure $CONFIGUREARGS gnumake dist TARBALL=`ls *.tar.gz` mkdir -p $DESTDIR @@ -101,6 +102,9 @@ echo "+ Cleaning up" rm -Rf cms rm -Rf $BUILDS/* +# make sure our local cvs is up-to-date +/usr/local/packages/cvsup/bin/cvsup -L 0 /u1/i-scream/cvsup/supfile + # pull the latest source from our local cvs echo "+ Updating CVS" cvs -d $CVSROOT checkout cms/source @@ -137,7 +141,7 @@ for PROG in $PROGS; do gnubuild $CMSSOURCE/libukcprog $BUILDS/libukcprog yes ;; idar) - gnubuild $CMSSOURCE/idar $BUILDS/idar no + gnubuild $CMSSOURCE/idar $BUILDS/idar no --with-curses-prefix=/usr/local/packages/ncurses ;; esac done