#
# $Header: /cvsroot/lesstif/lesstif/scripts/ftp.hungry.com/cron_cvs.sh,v 1.5 2004/05/23 15:42:23 dannybackx Exp $
#
# This script is called to build a nightly snapshot of CVS.
# Output is collected by the script that runs this one.
# Do not install this on ftp.hungry.com, it is updated and run
# automatically by updating it in CVS.
#
ECHO=echo
#ECHO=true
export ECHO
#
$ECHO "Updating CVS tree"
cd $COPY
$ECHO "(In directory" `pwd` ")"
/usr/bin/cvs -Q -z9 update -d -P -A
# cd $COPY/doc
# $ECHO "(In directory" `pwd` ")"
# /usr/bin/cvs -Q -z9 update -d -P -A
# # cd $COPY/include
# $ECHO "(In directory" `pwd` ")"
# /usr/bin/cvs -Q -z9 update -d -P -A
$ECHO "done."
$ECHO

$ECHO "Running CVSMake"
./CVSMake

sh ./configure 

make daily
mv lesstif-daily.tar.gz $WEB_DIR/daily

$ECHO "... done"
