cvs commit: src/share/mk bsd.README

Dag-Erling Smørgrav des at des.no
Sat Mar 11 02:01:53 GMT 2006


Ruslan Ermilov <ru at FreeBSD.org> writes:
> On Thu, Mar 09, 2006 at 01:33:38AM +0000, Warner Losh wrote:
> >   Log:
> >   Now that we now spell NO_MAN=xxx MAN=, update the docs.
> I object.
>
> 1) This is not common:
>
> grep '^NO_MAN=' {bin,usr.bin,sbin,usr.sbin}/*/Makefile |wc -l
>       10
> grep '^MAN=[[:space:]]*(#.*)?$' {bin,usr.bin,sbin,usr.sbin}/*/Makefile |wc -l
>        0
>
> 2) MAN= is worse for performance (with NO_MAN, bsd.man.mk is not
>    processes at all which is faster).
>
> 3) This is in contrast with NO_OBJ and similar knobs.
>
> I can only suggest to make it spell "NO_MAN=", i.e., without any value.
>
> Was there some discussion that I've missed?

I was told long ago (shortly after we switched from MAN[1-9] to just
MAN, I believe) that NO_MAN was wrong, and the correct way was to
define MAN to an empty value.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the cvs-src mailing list