Ethereal-dev: RE: [Ethereal-dev] cvsversion.h isn't generated in MSVC Makefile. nmake

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

From: "Anders Broman (TN/EAB)" <anders.broman@xxxxxxxxxxxx>
Date: Mon, 19 Jan 2004 10:17:00 +0100
Hi,
Building from todays tarball ( 2004-01-19) there i still problems :) perhaps because
cvsversion.h now required by main.c in /wiretap directory, I suspect the script gets called
to late. I did the following change to make it work :

--- makefile.old.nmake  2004-01-19 10:12:23.398262400 +0100
+++ makefile.nmake      2004-01-19 09:46:19.088896000 +0100
@@ -616,6 +616,7 @@
 <<

 config.h       : config.h.win32 config.nmake
+       $(PERL) make-version.pl
        sed -e s/@VERSION@/$(VERSION)/ \
            -e "s/@HAVE_GNU_ADNS@/$(ADNS_CONFIG)/" \
            -e "s/@HAVE_PCRE@/$(PCRE_CONFIG)/" \


I don't know if it's the right thing to do.
Best regards
Anders


-----Original Message-----
From: ethereal-dev-bounces@xxxxxxxxxxxx
[mailto:ethereal-dev-bounces@xxxxxxxxxxxx]On Behalf Of Joerg Mayer
Sent: den 17 januari 2004 14:14
Cc: ethereal-dev@xxxxxxxxxxxx
Subject: Re: [Ethereal-dev] cvsversion.h isn't generated in MSVC
Makefile.nmake


On Sat, Jan 17, 2004 at 01:54:09AM +0100, Joerg Mayer wrote:
> > Given that the script that generates cvsversion.h is written in the 
> > Swiss Army Chainsaw of programming languages, I wouldn't be surprised 
> > if it could just do the directory tree search for "Entries" files 
> > itself - and I wouldn't even be surprised to find that it could do it 
> > with code that works both on Windows and on UNIX>
> 
> OK, I'll do that (I thought about it and was too lazy :) tomorrow.

Done. In case there are still problems on either Unix or Windows, please
let me know.

 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.

_______________________________________________
Ethereal-dev mailing list
Ethereal-dev@xxxxxxxxxxxx
http://www.ethereal.com/mailman/listinfo/ethereal-dev