make(1): obj dirs are physical paths so write pwd -P rather than pwd.

Regular pwd may return a pathname containing symlinks, but make does not use
such pathnames.
This commit is contained in:
jilles 2011-11-05 21:32:17 +00:00
parent 00e8573810
commit eeb1159658

View File

@ -32,7 +32,7 @@
.\" @(#)make.1 8.8 (Berkeley) 6/13/95
.\" $FreeBSD$
.\"
.Dd December 29, 2008
.Dd November 5, 2011
.Dt MAKE 1
.Os
.Sh NAME
@ -631,7 +631,7 @@ The following directories are tried in order:
.Pp
.Bl -enum -compact
.It
${MAKEOBJDIRPREFIX}/`pwd`
${MAKEOBJDIRPREFIX}/`pwd -P`
.It
${MAKEOBJDIR}
.It
@ -639,7 +639,7 @@ obj.${MACHINE}
.It
obj
.It
/usr/obj/`pwd`
/usr/obj/`pwd -P`
.El
.Pp
The first directory that