summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/make.1
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-08-09 16:13:54 +0000
committerharti <harti@FreeBSD.org>2004-08-09 16:13:54 +0000
commit98b937e22a023bf2bef40267006693a68dae8d1d (patch)
tree2c20fa728f2dd121bf7b25476dbd40fbad5002cf /usr.bin/make/make.1
parent649b4336f4c3f3c74176cbaa17d1a54288018ba7 (diff)
downloadFreeBSD-src-98b937e22a023bf2bef40267006693a68dae8d1d.zip
FreeBSD-src-98b937e22a023bf2bef40267006693a68dae8d1d.tar.gz
Make explicit that MAKEOBJDIRPREFIX and MAKOBJDIR must be set
as environment variables and should not be set on make's command line. They happen to work accidentially as command line variables too when none of the sub-makes wants to play games with them (because make is putting command line variables into the environment and will find them there later on). Makefile.inc1 wants to change MAKEOBJDIRPREFIX. In this case one cannot set it on the command line.
Diffstat (limited to 'usr.bin/make/make.1')
-rw-r--r--usr.bin/make/make.17
1 files changed, 7 insertions, 0 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1
index 063c247..05b76ef 100644
--- a/usr.bin/make/make.1
+++ b/usr.bin/make/make.1
@@ -533,6 +533,13 @@ If they are undefined and
.Nm
is unable to change into any of the remaining three directories,
then the current directory is used.
+Note, that
+.Ev MAKEOBJDIRPREFIX
+and
+.Ev MAKEOBJDIR
+must be environment variables and should not be set on
+.Nm Ns 's
+command line.
.Pp
The
.Nm
OpenPOWER on IntegriCloud