[Asterisk-Dev] Re: Makefile changes in CVS HEAD

Tony Mountifield tony at softins.clara.co.uk
Mon Jun 6 07:20:23 MST 2005

In article <20050606132904.GE16036 at virtual.bogons.net>,
Simon Lockhart <simon at slimey.org> wrote:
> On Mon Jun 06, 2005 at 08:02:33AM -0500, Kevin P. Fleming wrote:
> > That's correct, and it was the reason for this change. I had hoped to 
> > have seen some discussion of this issue in the bug in Mantis, but nobody 
> > jumped in so I figured it was safe to proceed :-)
> I see compile time as a useful thing to record, but I also see that CVS
> checkout time is almost essential for debugging, etc.
> Could a simple script be developed which determined the timestamp of the
> "newest" item checked out from CVS?

My suggestion would be for every .c file to contain the following:

static const char cvsid[] = "$Id$";

which would then get filled in by CVS when checking out.

That would be even more explicit about versions than just a date.

See "man ident"

Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org

More information about the asterisk-dev mailing list