Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] possible enhancement

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Seth Alan Woolley <seth AT positivism.org>
  • To: Treeve Jelbert <treeve AT scarlet.be>
  • Cc: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] possible enhancement
  • Date: Sun, 20 Feb 2005 10:14:54 -0800

Make it a grimoire library called build_dir with a mk_build_dir function
with the first argument being the directory to create, defaulting to
"build-$SPELL-$VERSION". Also it could have a rm_build_dir function
that grabbed a global var SEPARATE_BUILD_DIR set by mk_build_dir and
cleaned it out:

BUILD:
mk_build_dir &&
default_build

INSTALL:
default_install &&
rm_build_dir

Once the grimoire library stabilizes, it can be moved into a sorcery
module if it's common and useful. This allows you to test it in the
grimoire, overlap the grimoire code with the sorcery code, and then
remove the grimoire library code overlap a while later. Otherwise,
you'll have integration issues with sorcery being a different version
than the grimoire.

On Sun, Feb 20, 2005 at 06:08:19PM +0000, Treeve Jelbert wrote:
> several software packages reccommend creating a build directory first and
> to
> do something like
>
> mkdir build
> cd build
> ../configure
> make
>
>
> in most cases configure accepts the standard options
>
>
> t would be useful if this situation could be handled by default_build
>
> mkdir build
> cd build
> default_build BASE=../
>
> or even simply
>
> default_build BUILD_IN=builddir
>
> so that builddir was created automatically
>
>
> Thoughts?
>
> --
> Regards, Treeve
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss
>

--
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: pgpTg1xPE3I1j.pgp
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page