cvs commit: hugs98/src version.h.in Makefile.in version.h

Sigbjorn Finne sof@galois.com
Thu, 10 Oct 2002 07:46:20 -0700


Whatever you end up deciding to do here, could you
make sure that this works across platforms & doesn't introduce
unnecessary dependencies on platform-specific tools?
(As is, win32 builds are broken.)

version.h has the benefit of being simple..

--sigbjorn

----- Original Message -----
From: "Jeffrey R Lewis" <jeff@galois.com>
To: <cvs-hugs@haskell.org>
Sent: Friday, October 04, 2002 06:09
Subject: Re: cvs commit: hugs98/src version.h.in Makefile.in version.h


> On Friday 04 October 2002 02:56 am, Ross Paterson wrote:
> > On Thu, Oct 03, 2002 at 09:16:42PM -0700, Jeff Lewis wrote:
> > > lewie       2002/10/03 21:16:42 PDT
> > >
> > >   Modified files:
> > >     src                  Makefile.in
> > >   Added files:
> > >     src                  version.h.in
> > >   Removed files:
> > >     src                  version.h
> > >   Log:
> > >   Automatically generate dates for version strings.  Override
automatic
> > >   dates by editing version.h.in.
> >
> > Wouldn't it be better if version.h were generated by configure rather
> > than make?  And if you used the 3-letter month name, there'd be room
> > for RC1 etc.
>
> If it were generated by configure, it would most certainly be out of date
most of the time (but perhaps you re-run configure more than I do ;-).
>
> For RC1-ish things, those will be the least common form of version name,
and in that case, I'd just override by tweaking version.h.in.
>
> But, we could have another switch in that file that generates an `RC' form
of release string which uses the 3-letter form.
>
> --Jeff
> _______________________________________________
> Cvs-hugs mailing list
> Cvs-hugs@haskell.org
> http://www.haskell.org/mailman/listinfo/cvs-hugs