cvs commit: src/usr.sbin/lpr/filters Makefile src/usr.sbin/lpr/ Makefile src/usr.sbin/lpr/ Makefile

Bruce Evans bde at
Thu Mar 9 07:38:21 PST 2006

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/ Makefile
>    usr.sbin/lpr/ 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.


More information about the cvs-src mailing list