Date: Mon, 3 Sep 2001 11:13:55 +0100 From: "Duncan Barclay" <dmlb@dmlb.org> To: "Warner Losh" <imp@harmony.village.org> Cc: <arch@FreeBSD.ORG> Subject: Re: cvs commit: src/share/mk sys.mk Message-ID: <005401c13461$37b78290$c66020c2@pc598cam> References: <20010831131627.A86427@xor.obsecurity.org> <200108311118.f7VBIO124920@freefall.freebsd.org> <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>
next in thread | previous in thread | raw e-mail | index | archive | help
This can be done in make already but you do need code stuff in a Makefile.inc to support it: http://www.ragnet.demon.co.uk/RM/RM.makefile This walks up a tree until it finds a toplevel. ----- Original Message ----- From: "Warner Losh" <imp@harmony.village.org> To: "Kris Kennaway" <kris@obsecurity.org> Cc: <arch@FreeBSD.ORG> Sent: Monday, September 03, 2001 3:11 AM Subject: Re: cvs commit: src/share/mk sys.mk > Actually, now that I think about this, I think that it would be *EASY* > to support in make. > > .include-up "conf/world.conf" > > and make would look in ., .., ../.., etc until it finds > conf/world.conf. It would then set some variable so conf/world.conf > would know where the top of the tree was (which would make things in > the tree a little easier). > > Of course, this also requires changing all Makefiles in the tree, but > that's easy to do. > > Warner > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-arch" in the body of the message > > 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?005401c13461$37b78290$c66020c2>