Date: Mon, 3 Sep 2001 11:08:32 -0700 From: Marcel Moolenaar <marcel@xcllnt.net> To: Jonathan Lemon <jlemon@flugsvamp.com> Cc: Duncan Barclay <dmlb@dmlb.org>, Warner Losh <imp@harmony.village.org>, arch@FreeBSD.ORG Subject: Re: cvs commit: src/share/mk sys.mk Message-ID: <20010903110832.F554@dhcp01.pn.xcllnt.net> In-Reply-To: <20010903124546.B64607@prism.flugsvamp.com> References: <20010831142958.A60910@sunbay.com> <20010831141746.A1809@zerogravity.kawo2.rwth-aachen.d> <20010831084811.B95710@dragon.nuxi.com> <20010831184945.A16872@fump.kawo2.rwth-aachen.de> <20010831100216.A17397@dragon.nuxi.com> <20010831193947.A17086@fump.kawo2.rwth-aachen.de> <200109030211.f832BCh22404@harmony.village.org> <005401c13461$37b78290$c66020c2@pc598cam> <20010903104141.E554@dhcp01.pn.xcllnt.net> <20010903124546.B64607@prism.flugsvamp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 03, 2001 at 12:45:46PM -0500, Jonathan Lemon wrote: > > > > Why not revert the problem. Instead of having a source tree find > > it's own root and pull in configuration files, why not have the > > user specify roots by means of a "searchpath". This concept is > > extensible by specify which config file to pull in depending on > > the search path. The top-level makefile can define the searchpath > > for it knows the root (obviously) so that it doesn't impact people > > who only build from the toplevel. Developers building directly in > > subdirectories need to define the "searchpath" themselves. > > I don't particularly like this; I would prefer that things are > self contained. Having the developer specify a searchpath themselves > is error prone, especially when dealing with multiple source trees. I agree with this when you depend on it for proper functioning. In this case it's just for configuration options, right? Also, putting configuration options in the source tree makes it hard, and in cases impossible, to share the source tree between machines. Lastly, working with "searchpaths" makes it easier for the developer to experiment with different options. You only have to start each build with a different "searchpath" and it allows you to run the builds concurrently. -- Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010903110832.F554>