]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r173217,176789,176792-176793,176839,176842
authoryar <yar@FreeBSD.org>
Sat, 16 Aug 2008 19:17:36 +0000 (19:17 +0000)
committeryar <yar@FreeBSD.org>
Sat, 16 Aug 2008 19:17:36 +0000 (19:17 +0000)
commitcd1a721233b4063527463235e368c9c471b08812
treeafbe773480b3826a3185e002ee2284566756dd12
parenta646318b2ba89ccef941918370d723dd0e08828b
MFC r173217,176789,176792-176793,176839,176842

Don't forget to set MAKEFLAGS in the childs' environment
from the .MAKEFLAGS global variable even if it's empty or
unset.  This means setting MAKEFLAGS to just an empty string
in the latter case.

The non-POSIX environment variable MAKE was superseded
by MAKEFLAGS ages ago, so don't mention it in comments.

Update the manpage accordingly and make the whole description of
MAKEFLAGS and .MAKEFLAGS more consistent as this change indeed
brings more consistency into the reliable behaviour of make(1).

Give more details in the manpage on the following topics:
o How global, command-line, and environment variables relate.
o What peculiarities the -f option has WRT ${MAKEFLAGS}.

(.Dd in the manpage is already beyond the date of those changes
in HEAD.)
usr.bin/make/main.c
usr.bin/make/make.1