Date: Fri, 25 May 2001 11:32:31 +0300 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: JT Williams Message-Id: <2561-Fri25May2001113231+0300-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: <20010524134600.A78@kendall.sfbr.org> (message from JT Williams on Thu, 24 May 2001 13:46:00 -0500) Subject: Re: CVS revision number in djasm.y References: <20010524134600 DOT A78 AT kendall DOT sfbr DOT org> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Thu, 24 May 2001 13:46:00 -0500 > From: JT Williams > > I think it will be useful (to me, at least ;-) to include the CVS revision > number of djasm.y as the djasm `version' number, written into the header > of the binary and into the SCCS/RCS id strings. For example, the strings > written into stub.exe would change from this: > > stub.exe generated from stub.asm by djasm, on Thu May 24 13:19:25 2001 > $Id: stub.asm built 2001-05-24 13:19:25 by djasm $ > @(#) stub.asm built 2001-05-24 13:19:25 by djasm > > to this: > > stub.exe generated from stub.asm by djasm v1.10 on Thu May 24 13:21:34 2001 > $Id: stub.asm built 2001-05-24 13:21:34 by djasm v1.10$ > @(#) stub.asm built 2001-05-24 13:21:34 by djasm v1.10 Beware: adding a $Revision$ tag to djasm.y will have the effect of changing the version each time you "cvs commit" the file. That includes any local commits (in case you, or someone else, has a local CVS or RCS tree on their machine). This could easily get in your way due to spurious diffs that make identical versions look different. It could also make an impression that many more versions exist than what was actually released. You might be better off with a string that you maintain manually, not a keyword understood by CVS.