On Thu, 2002-10-10 at 05:40, Adam Bregenzer wrote:
> On Wed, 2002-10-09 at 14:58, Greg A. Woods wrote:
>
> > My point was that you can do the same thing more reliably with a "cvs
> > update" in a working directory that is the DocumentRoot.
> But then it wouldn't be automagic, it would be whenever cvs update is
> run. Certianly every minute would be 'acceptable' but this solution is
> fine. Plus in this case the repository and the live site have different
> directory structures.
Try a *info script like:
cd /wherever
/usr/bin/cvs -d cvs:/home/cvs export -r $1 whosiwhatsit
if [ $? -eq 0 ]; then
cd whosiwhatsit
/usr/bin/make
/usr/bin/make install
else
echo "Export failed."
fi
$1 is obviously a tag. :)
You can use update instead of export, and -D now instead of -r $1 if you
want. You may also want to replace the echo with a mail.
The make and the make install should contain whatever is necessary to do
your build and/or rearrange the structure.
Jenn V.
--
"Do you ever wonder if there's a whole section of geek culture
you miss out on by being a geek?" - Dancer.
[EMAIL PROTECTED] http://anthill.echidna.id.au/~jenn/
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs