[Asterisk-Dev] Makefile changes in CVS HEAD

James Golovich james at wwnet.net
Mon Jun 6 11:20:10 MST 2005



On Mon, 6 Jun 2005, Simon Lockhart 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?
> 

Something I had suggested before but there was never any comments about
was adding a variable to every file/module.

static char VERSION[] = "$Id$";

that way the version would be in the code, and you could access it from
gdb.  Also show modules could display the version that was used

James




More information about the asterisk-dev mailing list