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:
Bryan Drewery 2015-09-17 17:45:20 +00:00
parent 232af7950c
commit ca04571419
3 changed files with 19 additions and 0 deletions

View File

@ -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

View File

@ -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.

View File

@ -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