Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 01 May 2004 22:41:44 -0700
From:      Kris Kennaway <kris@obsecurity.org>
To:        Robin Schoonover <end@endif.cjb.net>
Cc:        Aleksandar Simic <zen13038@zen.co.uk>
Subject:   Re: Improving /usr/ports/Makefile  ?
Message-ID:  <6556B8F8-9BFB-11D8-9787-00306541AD3A@obsecurity.org>
In-Reply-To: <20040502002248.1E0ED43D39@mx1.FreeBSD.org>
References:  <20040501235333.GA84676@yashin.myname.mydomain> <20040502002248.1E0ED43D39@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Kris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6556B8F8-9BFB-11D8-9787-00306541AD3A>