diff options
author | ru <ru@FreeBSD.org> | 2004-08-18 13:25:46 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-08-18 13:25:46 +0000 |
commit | 3e22f2ff0938c40c8fc25b862c42e5eb117683bc (patch) | |
tree | f2caecc67fde949c99810f12985b1f75f8f04c4f /usr.bin/make/make.1 | |
parent | 115cded1038aaa6c7c3d45e9a12cfd194c04c6ae (diff) | |
download | FreeBSD-src-3e22f2ff0938c40c8fc25b862c42e5eb117683bc.zip FreeBSD-src-3e22f2ff0938c40c8fc25b862c42e5eb117683bc.tar.gz |
Document the effects of modifying the .MAKEFLAGS internal
variable and using the .MAKEFLAGS special target, and the
differences between them.
Reviewed by: harti
Diffstat (limited to 'usr.bin/make/make.1')
-rw-r--r-- | usr.bin/make/make.1 | 25 |
1 files changed, 24 insertions, 1 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1 index 05b76ef..753e119 100644 --- a/usr.bin/make/make.1 +++ b/usr.bin/make/make.1 @@ -32,7 +32,7 @@ .\" @(#)make.1 8.8 (Berkeley) 6/13/95 .\" $FreeBSD$ .\" -.Dd August 4, 2004 +.Dd August 18, 2004 .Dt MAKE 1 .Os .Sh NAME @@ -581,6 +581,15 @@ entered into the environment as for all programs which .Nm executes. +By modifying the contents of the +.Va .MAKEFLAGS +variable, makefile can alter the contents of the +.Va MAKEFLAGS +environment variable made available for all programs which +.Nm +executes; compare with the +.Ic .MAKEFLAGS +special target below. .It Va MFLAGS is provided for backward compatibility and contains all the options from the @@ -1146,6 +1155,20 @@ The flags are as if typed to the shell, though the .Fl f option will have no effect. +Flags (except for +.Fl f ) +and variable assignments specified as the source +for this target are also appended to the +.Va .MAKEFLAGS +internal variable. +Please note the difference between this target and the +.Va .MAKEFLAGS +internal variable: specifying an option or variable +assignment as the source for this target will affect +.Em both +the current makefile and all processes that +.Nm +executes. .It Ic .MFLAGS Same as above, for backward compatibility. .\" XXX: NOT YET!!!! |