[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: FYI: bootstrap with tests/generate.awk!
From: |
Gary V. Vaughan |
Subject: |
Re: FYI: bootstrap with tests/generate.awk! |
Date: |
Wed, 29 Aug 2001 18:41:04 +0100 |
User-agent: |
Mutt/1.3.21i |
On Wed, Aug 29, 2001 at 11:23:15AM +0200, Akim Demaille wrote:
> >>>>> "Gary" == Gary V Vaughan <address@hidden> writes:
>
> Gary> On Tue, Aug 28, 2001 at 11:27:31AM +0200, Akim Demaille wrote:
> >> Is this really needed? I mean, I made it a tests/Makefile target.
>
> Gary> Good point. Probably not.
>
> Gary> However... I assume we will be shipping pregenerated tests?
>
> Correct. We also ship Bison generated files, but we don't `bootstrap'
> them usually.
I would. Because I want to:
$ cvs -z3 co foo
$ cd foo
$ ./bootstrap
And have it be in the right state to do:
$ ./configure
$ make
etc.
> bootstrap is a patch, a hack, for we simply don't have
> any Makefile available at that moment, otherwise, it would be make
> bootstrap. So I'm in favor of having boostrap as small as possible.
I do like a small bootstrap -- for example AutoGen has a bootstrap
process that has gotten way out of hand IMNSHO. However, the easiest
way to write the smallest number of commands required to make a source
tree configurable really is to list them in the bootstrap script.
> As a matter of fact, I even wonder if we are not willing a mere:
>
> $ cat bootstrap
> make -f Makefile.am bootstrap
>
> and that's all.
But that would mean maintaining a bunch of make rules to fire the very
same list of cammands that can just be listed sequentially in
bootstrap. Even though `make -f #Makefile.am' will work for simple
projects, it is not a general solution (I'd be very surprised if it
could bootstrap cvs AutoGen for example), so I don't think we should
teach it...
As always, I'm willing to be proven wrong.
Cheers,
Gary.
--
())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org)
( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____
/ )= GNU Hacker http://www.gnu.org/software/libtool \' `&
`(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/
- FYI: bootstrap with tests/generate.awk!, Gary V. Vaughan, 2001/08/27
- Re: FYI: bootstrap with tests/generate.awk!, Akim Demaille, 2001/08/28
- Re: FYI: bootstrap with tests/generate.awk!, Gary V. Vaughan, 2001/08/28
- Re: FYI: bootstrap with tests/generate.awk!, Akim Demaille, 2001/08/29
- Re: FYI: bootstrap with tests/generate.awk!,
Gary V. Vaughan <=
- Re: FYI: bootstrap with tests/generate.awk!, Akim Demaille, 2001/08/30
- Re: FYI: bootstrap with tests/generate.awk!, Gary V. Vaughan, 2001/08/30
- Re: FYI: bootstrap with tests/generate.awk!, Akim Demaille, 2001/08/31
- Re: FYI: bootstrap with tests/generate.awk!, Gary V. Vaughan, 2001/08/31