summaryrefslogtreecommitdiffstats
path: root/usr.bin/make/make.1
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-04-25 14:44:42 +0000
committerru <ru@FreeBSD.org>2001-04-25 14:44:42 +0000
commitd2b01e69fab833278598e1026bcac2bef56f74d0 (patch)
tree5262ef0ba56a7442cf71cd2e9477d747654576be /usr.bin/make/make.1
parenteaf5ab661c732af63832ac313914235e6ba76fe7 (diff)
downloadFreeBSD-src-d2b01e69fab833278598e1026bcac2bef56f74d0.zip
FreeBSD-src-d2b01e69fab833278598e1026bcac2bef56f74d0.tar.gz
unifdef -UWANT_ENV_PWD.
No one ever going to use this bugfeature.
Diffstat (limited to 'usr.bin/make/make.1')
-rw-r--r--usr.bin/make/make.137
1 files changed, 12 insertions, 25 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1
index 91a416d..f49c32b 100644
--- a/usr.bin/make/make.1
+++ b/usr.bin/make/make.1
@@ -462,6 +462,11 @@ was executed with
A path to the directory where
.Nm
was executed.
+.Nm
+sets
+.Va .CURDIR
+to the canonical path given by
+.Xr getcwd 3 .
.It Va .OBJDIR
A path to the directory where the targets are built.
At startup,
@@ -501,6 +506,12 @@ If they are undefined and
.Nm
is unable to change into any of the remaining three directories,
then the current directory is used.
+.Pp
+.Nm
+sets
+.Va .OBJDIR
+to the canonical path given by
+.Xr getcwd 3 .
.It Va .MAKEFLAGS
The environment variable
.Ev MAKEFLAGS
@@ -526,29 +537,6 @@ executes.
A synonym for
.Va .MAKEFLAGS
provided for backward compatibility.
-.It Ev PWD
-Alternate path to the current directory.
-Supported if built with WANT_ENV_PWD defined.
-.Nm
-normally sets
-.Ql Va .CURDIR
-to the canonical path given by
-.Xr getcwd 3 .
-However, if the environment variable
-.Ev PWD
-is set and gives a path to the current directory, then
-.Nm
-sets
-.Ql Va .CURDIR
-to the value of
-.Ev PWD
-instead.
-.Ev PWD
-is always set to the value of
-.Ql Va .OBJDIR
-for all programs which
-.Nm
-executes.
.It Va .TARGETS
List of targets
.Nm
@@ -1172,9 +1160,8 @@ uses the following environment variables, if they exist:
.Ev MAKE ,
.Ev MAKEFLAGS ,
.Ev MAKEOBJDIR ,
-.Ev MAKEOBJDIRPREFIX ,
and
-.Ev PWD .
+.Ev MAKEOBJDIRPREFIX .
.Sh FILES
.Bl -tag -width /usr/share/doc/psd/12.make -compact
.It Pa .depend
OpenPOWER on IntegriCloud