Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire] splitting BUILD

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Mads Laursen <dossen+sgl AT daimi.au.dk>
  • To: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire] splitting BUILD
  • Date: Tue, 16 Mar 2004 15:22:17 +0100

On 16/03/04 13.47, Arwed von Merkatz wrote:
> On Tue, Mar 16, 2004 at 01:39:18PM +0100, Robert Helgesson wrote:
> > On Tue, Mar 16, 2004 at 13:31:53 +0100, Arwed von Merkatz wrote:
> > > On Tue, Mar 16, 2004 at 12:40:25PM +0100, Robert Helgesson wrote:
> > > > On Mon, Mar 15, 2004 at 21:57:46 -0800, Andrew wrote:
> > > > > Are we decided on:
> > > > > *BUILD splits to:
> > > > > COMPILE (everything before prepare_install
> > > >
> > > > I don't like the name COMPILE since a spell may need to use it but
> > > > never
> > > > do any compilation. Calling this file BUILD instead is more apt in my
> > > > opinion. Not very important though.
> > >
> > > If we would call it BUILD we'd have to split every single BUILD file in
> > > the grimoire into the new files at once, not a change i'd like to make.
> > > I agree that BUILD would be a better name though. We could start calling
> > > it COMPILE with the plan to eventually rename it to BUILD when the
> > > transition to the new system is done in most of the grimoire.
> >
> > But wouldn't the build system support both ways initially? If so then I
> > think it should be quite possible to run BUILD instead of COMPILE. Just
> > don't use "if [ -x $SCRIPT_DIRECTORY/BUILD ] ; then old_system ; else
> > new_system ; fi"
>
> The problem is that after the new BUILD/COMPILE prepare_install and
> INSTALL are run, not sure what effect that would have if BUILD does
> everything already.

If I may make an observation: One important difference between the old
and the new style is whether BUILD runs prepare_install. Could this be
detected, or is the layering of processes such that cast cannot detect
that prepare_install has been run? If it can be detected, then the
choice between styles can be defered till after BUILD.

Just my (currency) a_small_amount

/dossen

Attachment: pgp5BHRid42Qy.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page