diff options
| author | Bruce Evans <bde@FreeBSD.org> | 1996-08-31 14:21:15 +0000 |
|---|---|---|
| committer | Bruce Evans <bde@FreeBSD.org> | 1996-08-31 14:21:15 +0000 |
| commit | 274beb73fecb310234ad57083a85f3e8085ec6ce (patch) | |
| tree | 14951599a23e9d324b07985f83d1c8eda5b23761 /usr.bin/make/make.1 | |
| parent | 36687303866814d0f5d4f4c885ec896e1d74b8d8 (diff) | |
Notes
Diffstat (limited to 'usr.bin/make/make.1')
| -rw-r--r-- | usr.bin/make/make.1 | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/usr.bin/make/make.1 b/usr.bin/make/make.1 index 69b359881b61..49971b0d7a25 100644 --- a/usr.bin/make/make.1 +++ b/usr.bin/make/make.1 @@ -388,8 +388,7 @@ sign. .It Ev MAKE The name that .Nm make -was executed with -.Pq Va argv Op 0 +was executed with. .It Va .CURDIR A path to the directory where .Nm make @@ -411,6 +410,28 @@ variable which is then entered into the environment for all programs which .Nm make executes. +.It Ev PWD +Alternate path to the current directory. +.Nm make +normally sets +.Ql Va .CURDIR +to the canonical path given by +.Xr getcwd 2 . +However, if the environment variable +.Ql Ev PWD +is set and gives a path to the current directory, then +.Nm make +sets +.Ql Va .CURDIR +to the value of +.Ql Ev PWD +instead. +.Ql Ev PWD +is set to the value of +.Ql Va .OBJDIR +for all programs which +.Nm make +executes. .El .Pp Variable expansion may be modified to select or modify each word of the @@ -869,10 +890,12 @@ If no sources are specified, any previous specified suffices are deleted. .Sh ENVIRONMENT .Nm Make utilizes the following environment variables, if they exist: +.Ev MACHINE , .Ev MAKE , -.Ev MAKEFLAGS +.Ev MAKEFLAGS , +.Ev MAKEOBJDIR , and -.Ev MAKEOBJDIR . +.Ev PWD . .Sh FILES .Bl -tag -width /usr/share/mk -compact .It .depend |
