sm-discuss AT lists.ibiblio.org
Subject: Public SourceMage Discussion List
List archive
- From: Arwed von Merkatz <v.merkatz AT gmx.net>
- To: sm-discuss <sm-discuss AT lists.ibiblio.org>
- Subject: Re: [SM-Discuss] section build files
- Date: Tue, 27 Apr 2004 00:51:14 +0200
On Mon, Apr 26, 2004 at 01:27:28PM -0700, Andrew wrote:
> 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?
Make it so.
(I always wanted to say that once ;)
--
Arwed v. Merkatz Source Mage GNU/Linux developer
http://www.sourcemage.org
-
Re: [SM-Discuss] section build files
, (continued)
-
Re: [SM-Discuss] section build files,
Andrew, 04/25/2004
-
Re: [SM-Discuss] section build files,
Arwed von Merkatz, 04/25/2004
- Re: [SM-Discuss] section build files, Andrew, 04/25/2004
- Re: [SM-Discuss] section build files, Sergey A. Lipnevich, 04/25/2004
- Re: [SM-Discuss] section build files, Arwed von Merkatz, 04/25/2004
- Re: [SM-Discuss] section build files, Andrew, 04/25/2004
- Re: [SM-Discuss] section build files, Arwed von Merkatz, 04/25/2004
- Re: [SM-Discuss] section build files, Andrew, 04/25/2004
- Re: [SM-Discuss] section build files, Seth Alan Woolley, 04/26/2004
- Re: [SM-Discuss] section build files, Andrew, 04/26/2004
- Re: [SM-Discuss] section build files, Arwed von Merkatz, 04/26/2004
- Re: [SM-Discuss] section build files, Andrew, 04/26/2004
-
Re: [SM-Discuss] section build files,
Arwed von Merkatz, 04/25/2004
-
Re: [SM-Discuss] section build files,
Andrew, 04/25/2004
Archive powered by MHonArc 2.6.24.