[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: CVS Commit Automatic file update/copy
From: |
Alex Holst |
Subject: |
Re: CVS Commit Automatic file update/copy |
Date: |
Mon, 27 Aug 2001 18:07:13 +0200 |
User-agent: |
Mutt/1.2.5i |
Quoting address@hidden (address@hidden):
> We are currently using CVS to maintain revisions of many different
> programs, web scripts, perl modules, etc. located in various parts of the
> hosts filesystem.
Use the loginfo file to keep a live, structured tree checked-out in a
non-intrusive location and let a script of some sort copy the files to where
they are supposed to be. make(1) is suitable for this task. Your loginfo
should look something like this:
^whatever ((sleep 1; cd /where/ever; cvs up -PAd; make publish) &)
Of course you need a Makefile that knows where to copy HTML files, cgi's
etc.
--
I prefer the dark of the night, after midnight and before four-thirty,
when it's more bare, more hollow. http://a.area51.dk/