Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Mar 2006 02:38:14 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Garance A Drosehn <gad@FreeBSD.org>
Cc:        cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/usr.sbin/lpr/filters Makefile src/usr.sbin/lpr/filters.ru/koi2855 Makefile src/usr.sbin/lpr/filters.ru/koi2alt Makefile
Message-ID:  <20060310020457.F24754@delplex.bde.org>
In-Reply-To: <200603082228.k28MSDXJ050630@repoman.freebsd.org>
References:  <200603082228.k28MSDXJ050630@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 8 Mar 2006, Garance A Drosehn wrote:

> gad         2006-03-08 22:28:13 UTC
>
>  FreeBSD src repository
>
>  Modified files:
>    usr.sbin/lpr/filters Makefile
>    usr.sbin/lpr/filters.ru/koi2855 Makefile
>    usr.sbin/lpr/filters.ru/koi2alt Makefile
>  Log:
>  Switch these makefiles to use 'MAN=' to indicate they will not generate
>  a man page, instead of 'NO_MAN='.  'NO_MAN=' is something users would
>  set, not something a makefile should be using.
>
>  Based on comments by:   des

NO_MAN is the standard knob.  It is documented in mk/bsd.README.  It can
be used by either users or makefiles to turn off normal man page processing.
It is used for this by src/Makefile.inc1 and could be used by makefiles
generally in the same way (to make several passes).

This commit quadruples the number of makefiles in /usr/src that use
the nonstandard method MAN=.  Previously there was only 1
(libgssapi/Makefile).  Such makefiles even used to be outnumbered by
ones which use NO_MAN with its correct spelling NOMAN (there are 4 of
these).  About 200 makefiles use the standard knob.

NetBSD still uses mainly NOMAN= in makefiles.  It never uses NO_MAN
in makefiles, but uses MAN= in about 13.  It only documents NOxxx in
bsd.README, and says there that NOxxx is not intended for users.
Perhaps NO_xxx should be for users and NOxxx for makefiles.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060310020457.F24754>