Using the attached script, the build fails while trying ot tar up the
distributions ... when its trying to build the tools tar file, error being
that it can't find the src/data directory ... compared against the
snapshot build script, it doesn't look like I've missed anything, and i
haven't changed the build script fo rbeta recently, other then the v7.4
stuff ...
Makefile problem, or a directory that is supposed to be built?
#! /bin/sh
set -e
export PATH=/usr/local/bin:/usr/bin:/bin:/sbin
cd /usr/local/pgsql/beta
if [ -d pgsql ]
then mv pgsql pgsql.dead
fi
if [ -d pgsql.dead ]
then rm -rf pgsql.dead &
fi
/usr/bin/cvs -d /cvsroot -q checkout -rREL7_4_BETA1 -P pgsql
/usr/bin/find pgsql -type d -name CVS -print | xargs rm -rf
cd pgsql
./configure
cd doc/src
gmake postgres.tar.gz
mv postgres.tar.gz ..
cp /var/spool/ftp/pub/dev/doc/man.tar.gz ..
cd ../..
gmake split-dist=yes dist
gmake maintainer-clean
for x in *.tar.gz; do md5 $x > $x.md5
done
mv *.tar.gz *.tar.gz.md5 /var/spool/ftp/pub/source/v7.4
Marc G. Fournier ICQ#7615664 IRC Nick: Scrappy
Systems Administrator @ hub.org
primary: scrappy@hub.org secondary: scrappy@{freebsd|postgresql}.org