This file is moving to www/tools since that's a more orthogonal place

for it (we have src/tools and ports/Tools, after all).
This commit is contained in:
Dima Dorfman 2001-06-06 22:43:29 +00:00
parent 6560a47f9d
commit 9217358863
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=9557

View file

@ -1,32 +0,0 @@
#!/bin/sh
# Copyright (c) 2001 Wolfram Schneider <wosch@FreeBSD.org>
#
# update the FreeBSD Web-Server from the CVS repository
#
# $FreeBSD$
#
PATH=/bin:/usr/bin:/usr/local/bin; export PATH
CVSROOT=/home/ncvs; export CVSROOT
build_dir=/usr/local/www/build
logfile=log.make.`date '+%d'`
cd $build_dir || exit 2
cvs -qR update -dP www doc > $logfile 2>&1 || exit 2
# fresh checkout
# rm -rf www doc || exit 2
# cvs -QR co www doc || exit 2
cd www || exit 2
cd en || exit 2
# force a rebuild every week at sunday
case `date '+%u'` in 7) make clean > /dev/null 2>&1 ;; esac
time make all > $logfile 2>&1 &&
time make DESTDIR=/usr/local/www install >> $logfile 2>&1 ||
tail -50 $logfile