Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] section build files

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Andrew <afrayedknot AT thefrayedknot.armory.com>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] section build files
  • Date: Mon, 26 Apr 2004 13:27:28 -0700

On Mon, Apr 26, 2004 at 09:20:05AM -0700, Seth Alan Woolley wrote:
> On Sun, Apr 25, 2004 at 01:15:31PM -0700, Andrew wrote:
> > So it goes like this:
> >
> > source default build api stuff (see load_build_api)
> > USE_FUNCTION=${USE_FUNCTION:-on}
> > if [ $USE_FUNCTIONS == "on" ] ; then
> > [ -x $GRIMOIRE/FUNCTIONS ] && . $GRIMOIRE/FUNCTIONS
> > [ -x $SECTION_DIRECTORY/FUNCTIONS ] && . $GRIMOIRE/FUNCTIONS
> > fi
> >
> > So if theres a file at the grimoire level it overrides whatever it wants
> > from
> > the standard library, then if the section level file exists then it
> > overrides anything from both the standard library and the grimoire
> > functions (regardlesss of whether or not it existed). That is of course
> > in the case when USE_FUNCTIONS is on, if its off, then we only use
> > the standard library.
> >
> > The semantics should be identical to how API_VERSION + BUILD_API works.
>
> USE_FUNCTION={grimoire,section,on}
>
> What if we only want to source the grimoire or the section functions?
>

I can do that too. Have we reached a consensus on the naming?


--
__________________________________________________________________________
|Andrew D. Stitt | astitt at sourcemage.org |
|irc: afrayedknot | afrayedknot at t.armory.com |
|aim: thefrayedknot or iteratorplusplus | |
|Sorcery Team Lead, Porting Team Lead | |
|Grimoire Guru ham/smgl | ftp://t.armory.com |
|Author and Maintainer of Prometheus | |
--------------------------------------------------------------------------




Archive powered by MHonArc 2.6.24.

Top of Page