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: Seth Alan Woolley <seth AT positivism.org>
  • To: sm-discuss <sm-discuss AT lists.ibiblio.org>
  • Subject: Re: [SM-Discuss] section build files
  • Date: Mon, 26 Apr 2004 09:20:05 -0700

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?

--
Seth Alan Woolley [seth at positivism.org], SPAM/UCE is unauthorized
Key id EF10E21A = 36AD 8A92 8499 8439 E6A8 3724 D437 AF5D EF10 E21A
http://smgl.positivism.org:11371/pks/lookup?op=get&search=0xEF10E21A
Security Team Leader Source Mage GNU/Linux http://www.sourcemage.org

Attachment: pgpndulDhHBJ4.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page