be explicit about MAKEOBJDIR and MAKEOBJDIRPREFIX not being for

mk.conf or ${MAKECONF}.
This commit is contained in:
mrg 2008-12-02 22:28:21 +00:00
parent 560baaf0fe
commit 8f2ea05a60
2 changed files with 13 additions and 5 deletions

View File

@ -114,7 +114,8 @@ CONFIGURATION
the value of .CURDIR. Used only if MAKEOBJDIRPREFIX is the value of .CURDIR. Used only if MAKEOBJDIRPREFIX is
not defined. MAKEOBJDIR can be provided only in the not defined. MAKEOBJDIR can be provided only in the
environment or via the -O flag of build.sh; it cannot environment or via the -O flag of build.sh; it cannot
usefully be set inside a Makefile. usefully be set inside a Makefile, including mk.conf or
${MAKECONF}.
MAKEOBJDIRPREFIX Top level directory of the object directory tree. If MAKEOBJDIRPREFIX Top level directory of the object directory tree. If
specified, must be an absolute path. If this is specified, must be an absolute path. If this is
@ -122,7 +123,8 @@ CONFIGURATION
.OBJDIR for the current directory. The current direc- .OBJDIR for the current directory. The current direc-
tory may be read only. MAKEOBJDIRPREFIX can be pro- tory may be read only. MAKEOBJDIRPREFIX can be pro-
vided only in the environment or via the -M flag of vided only in the environment or via the -M flag of
build.sh; it cannot usefully be set inside a Makefile. build.sh; it cannot usefully be set inside a Makefile,
including mk.conf or ${MAKECONF}.
"make" variables "make" variables
Several variables control the behavior of NetBSD builds. Unless other- Several variables control the behavior of NetBSD builds. Unless other-

View File

@ -1,4 +1,4 @@
.\" $NetBSD: BUILDING.mdoc,v 1.70 2008/11/15 11:27:49 mrg Exp $ .\" $NetBSD: BUILDING.mdoc,v 1.71 2008/12/02 22:28:21 mrg Exp $
.\" .\"
.\" Copyright (c) 2001-2008 The NetBSD Foundation, Inc. .\" Copyright (c) 2001-2008 The NetBSD Foundation, Inc.
.\" All rights reserved. .\" All rights reserved.
@ -236,7 +236,10 @@ can be provided only in the environment or via the
.Fl O .Fl O
flag of flag of
.Nm build.sh ; .Nm build.sh ;
it cannot usefully be set inside a Makefile. it cannot usefully be set inside a Makefile, including
.Pa mk.conf
or
.Sy ${MAKECONF} .
. .
.It Sy MAKEOBJDIRPREFIX .It Sy MAKEOBJDIRPREFIX
Top level directory of the object directory tree. Top level directory of the object directory tree.
@ -252,7 +255,10 @@ can be provided only in the environment or via the
.Fl M .Fl M
flag of flag of
.Nm build.sh ; .Nm build.sh ;
it cannot usefully be set inside a Makefile. it cannot usefully be set inside a Makefile, including
.Pa mk.conf
or
.Sy ${MAKECONF} .
. .
.El .El
. .