On Thu, Jan 29, 2004 at 10:43:15PM +0100, Olivier Biot wrote:
> Attached you'll find an "enhanced" make-version.pl file (which
> generates the CVS timestamp). The "cvsversion.h" header now gets the
> same modification time as the last modified CVS/Entries file, hence it
> only changes if the CVS repository has changed.

I don't see a real difference to what happens now: The file will only
be written if one of the following conditions is met:
a) file doesn't exist
b) file exists but is different from the newly computed value

Please explain this a bit more.

> if (-d "$dir/$d") {
>     if (($d =~ /^CVS$/) && (-f "$dir/$d/Entries")) {
>         push(@files, "$dir/$d/Entries");
>     } else {
>         # Recurse
>     }
> } # else: file (skipped)

Looks good.

> Is it possible to add a rule to the Makefile which gets executed at
> every run?

I thought that this had been done. If not, please do so.

  Ciao
                 J�rg

PS: My laptop died so I'll need to get myself a laptop to normal ide
plug adapter. Until that is done, I probably won't do much work on
Ethereal.
PPS: Please send diffs, it really helps me to see what changed.
-- 
Joerg Mayer                                           <[EMAIL PROTECTED]>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.

_______________________________________________
Ethereal-dev mailing list
[EMAIL PROTECTED]
http://www.ethereal.com/mailman/listinfo/ethereal-dev

Reply via email to