Ethereal-dev: Re: [Ethereal-dev] CVS version info

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sun, 18 Jan 2004 06:01:08 +0100
On Sat, Jan 17, 2004 at 07:11:39PM -0800, Guy Harris wrote:
> On Sun, Jan 18, 2004 at 02:42:52AM +0100, Olivier Biot wrote:
> > Should we run the make-version.pl script at every make?
> 
> I.e., a fix to rerun it every time would mean that it'd recompile
> everything that includes "cvsversion.h" and relink even if no source
> changed, unless we do some hack where we have make-version.pl write to
> "cvsversion.h.new", or something such as that, and move
> "cvsversion.h.new" on top of "cvsversion.h" only if it had changed.

make-version.pl already contains code to do that. In case it behaves
differently, it's a bug and should be reported :) Look for $needsupdate.

 Ciao
       Jörg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.