Date: Sun, 2 May 2004 08:35:46 -0600 From: Robin Schoonover <end@endif.cjb.net> To: Kris Kennaway <kris@obsecurity.org> Cc: Aleksandar Simic <zen13038@zen.co.uk> Subject: Re: Improving /usr/ports/Makefile ? Message-ID: <20040502143547.3468443D48@mx1.FreeBSD.org> In-Reply-To: <6556B8F8-9BFB-11D8-9787-00306541AD3A@obsecurity.org> References: <20040501235333.GA84676@yashin.myname.mydomain> <20040502002248.1E0ED43D39@mx1.FreeBSD.org> <6556B8F8-9BFB-11D8-9787-00306541AD3A@obsecurity.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 01 May 2004 22:41:44 -0700, Kris Kennaway wrote: > On May 1, 2004, at 5:22 PM, Robin Schoonover wrote: > > I'd rather have something like > > > > .for TCAT in ${SUBDIR} > > . if exists (${.CURDIR}/${TCAT}) > > _SUBDIR_C+= ${TCAT} > > . endif > > .endfor > > SUBDIR=${_SUBDIR_C} > > > > attached after all the SUBDIR lines instead because it adds less > > clutter > > to the actual SUBDIR listing, which makes it a little eaiser (IMO) to > > read. > > Are you sure this will actually do anything? Without referring to the > code I would expect bsd.port.subdir.mk to ignore (with warning) > categories that are listed but nonexistent. > You're right. Now it is even more worthless. :P The only use it has now that I can see is that make -V SUBDIR doesn't show nonexistant directories. (I don't think we need that very much.) -- Robin Schoonover (aka End) # /* And you'll never guess what the dog had */ # /* in its mouth... */ # --Larry Wall in stab.c from the perl source code
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040502143547.3468443D48>