#!/bin/sh
#
# build doc snapshots.
#
export CVSROOT=/kfug/cvs
export DOCDIR=/kfug/www/htdocs/projects/doc-kr/doc

BUILDDIR=/kfug/www/htdocs/projects/doc-kr/build/

( rm -fr $DOCDIR )
( cd $BUILDDIR && rm -fr doc && cvs -rR co -PR doc )
( cd $BUILDDIR/doc && make all install DOCDIR=$DOCDIR clean )
