aboutsummaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorHartmut Brandt <harti@FreeBSD.org>2004-08-03 19:14:14 +0000
committerHartmut Brandt <harti@FreeBSD.org>2004-08-03 19:14:14 +0000
commit3f3d0ec007a5c73970d7c4f12d1eec6491c86186 (patch)
tree8bc2d7fcb191cf8b83411e7d4189afa3f8b93580 /usr.bin
parentd98bc4ce72bb0f874f5cb999c9f67f01e6cc860c (diff)
downloadsrc-3f3d0ec007a5c73970d7c4f12d1eec6491c86186.tar.gz
src-3f3d0ec007a5c73970d7c4f12d1eec6491c86186.zip
Correct the description of the MFLAGS and .MAKEFLAGS variables. Add
the MFLAGS target. Document that variable assignments from the MAKEFLAGS environment variable and the .MAKEFLAGS and .MFLAGS target have the same precedence as command line variable assignments.
Notes
Notes: svn path=/head/; revision=133086
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/make.122
1 files changed, 16 insertions, 6 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1
index 9d932e827c1f..fa248236d0ae 100644
--- a/usr.bin/make/make.1
+++ b/usr.bin/make/make.1
@@ -395,7 +395,12 @@ environment.
.It Global variables
Variables defined in the makefile or in included makefiles.
.It Command line variables
-Variables defined as part of the command line.
+Variables defined as part of the command line and variables
+obtained from the
+.Ev MAKEFLAGS
+environment variable or the
+.Ic .MAKEFLAGS
+target.
.It Local variables
Variables that are defined specific to a certain target.
The seven local variables are as follows:
@@ -559,9 +564,9 @@ Its contents are stored in
.Nm Ns 's
.Va .MAKEFLAGS
variable.
-Anything specified on
+All options and variable assignment specified on
.Nm Ns 's
-command line is appended to the
+command line are appended to the
.Va .MAKEFLAGS
variable which is then
entered into the environment as
@@ -570,9 +575,12 @@ for all programs which
.Nm
executes.
.It Va MFLAGS
-A synonym for
-.Va .MAKEFLAGS
-provided for backward compatibility.
+is provided for backward compatibility and
+contains all the options from the
+.Ev MAKEFLAGS
+environment variable plus any options specified on
+.Nm Ns 's
+command line.
.It Va .TARGETS
List of targets
.Nm
@@ -1131,6 +1139,8 @@ The flags are as if typed to the shell, though the
.Fl f
option will have
no effect.
+.It Ic .MFLAGS
+Same as above, for backward compatibility.
.\" XXX: NOT YET!!!!
.\" .It Ic .NOTPARALLEL
.\" The named targets are executed in non parallel mode. If no targets are