Document src-env.conf and note its use for MAKEOBJDIRPREFIX and WITH_META_MDOE.
Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
232af7950c
commit
ca04571419
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=287925
@ -78,6 +78,7 @@ MLINKS+=portindex.5 INDEX.5
|
||||
MLINKS+=quota.user.5 quota.group.5
|
||||
MLINKS+=rc.conf.5 rc.conf.local.5
|
||||
MLINKS+=resolver.5 resolv.conf.5
|
||||
MLINKS+=src.conf.5 src-env.conf.5
|
||||
|
||||
.if ${MK_AUTOFS} != "no"
|
||||
MAN+= autofs.5
|
||||
|
@ -25,6 +25,11 @@ If
|
||||
is available the meta file will also capture a record of files
|
||||
used to produce the target by tracking syscalls.
|
||||
.Pp
|
||||
This must be set in the environment or
|
||||
.Pa /etc/src-env.conf ,
|
||||
not
|
||||
.Pa /etc/src.conf .
|
||||
.Pp
|
||||
The build will hide commands ran unless
|
||||
.Va NO_SILENT
|
||||
is defined.
|
||||
|
@ -188,6 +188,18 @@ option of
|
||||
or in its environment; see
|
||||
.Xr environ 7 .
|
||||
.Pp
|
||||
The environment of
|
||||
.Xr make 1
|
||||
for the build can be controlled via the
|
||||
.Va SRC_ENV_CONF
|
||||
variable, which defaults to
|
||||
.Pa /etc/src-env.conf .
|
||||
Some examples that may only be set in this file are
|
||||
.Va MAKEOBJDIRPREFIX ,
|
||||
and
|
||||
.Va WITH_META_MODE
|
||||
as they are environment-only variables.
|
||||
.Pp
|
||||
The values of variables are ignored regardless of their setting;
|
||||
even if they would be set to
|
||||
.Dq Li FALSE
|
||||
@ -284,6 +296,7 @@ EOF
|
||||
.Sh FILES
|
||||
.Bl -tag -compact -width Pa
|
||||
.It Pa /etc/src.conf
|
||||
.It Pa /etc/src-env.conf
|
||||
.It Pa /usr/share/mk/bsd.own.mk
|
||||
.El
|
||||
.Sh SEE ALSO
|
||||
|
Loading…
Reference in New Issue
Block a user