This is the mail archive of the
insight@sourceware.cygnus.com
mailing list for the Insight project.
Re: Building Insight (2)
- To: Tom Tromey <tromey at cygnus dot com>
- Subject: Re: Building Insight (2)
- From: Jim Ingham <jingham at apple dot com>
- Date: Thu, 29 Jun 2000 18:00:20 -0700
- Cc: Cor van Loos <C_van_Loos at excite dot com>, <Insight at sourceware dot cygnus dot com>
Also sprach Tom Tromey:
> Jim> P.S. I also agree with Keith that libgui should NOT be trying to
> Jim> make the tclIndex as part of the build. It is too fragile,
> Jim> particularly since the wrong version of Itclsh can cause really
> Jim> bad things to happen...
>
> One approach to this, which is both controversial and widely
> practiced, is to check in the derived file and make rebuilding it
> conditional upon configuring with --enable-maintainer-mode.
> This is easiest if you're using automake, but it is also fairly easy
> without it.
>
> Tom
That is what I tend to do - but in a sloppy sort of way... In Insight we
just have a tclIndex target, which no other target depends on. Then I just
remember that if I change any of the Tcl files, I need to run it. This
depends on the developer being disciplined, but rebuilding the index with
every build is more not right, since the vast majority of the people who
build Insight are NOT messing with the libgui tcl files, and so for them to
build the index just adds an element of risk with no real benefit.
Jim
--
Jim Ingham jingham@apple.com
Apple Computer