[Bug 262578] [patch] build(7) refers to MAKEOBJDIRPREFIX as both an environment variable and as a make(1) variable.

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 15 Mar 2022 19:26:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=262578

            Bug ID: 262578
           Summary: [patch] build(7) refers to MAKEOBJDIRPREFIX as both an
                    environment variable and as a make(1) variable.
           Product: Documentation
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Manual Pages
          Assignee: bugs@FreeBSD.org
          Reporter: matteo@FreeBSD.org
                CC: doc@FreeBSD.org

Created attachment 232475
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=232475&action=edit
Patch that fixes the issue.

The build(7) manpage, in the third paragraph ("A source tree...") refers to
MAKEOBJDIRPREFIX as an "environment variable".

Later, in the descriptions of the "buildworld" and "buildkernel" targets,
MAKEOBJDIRPREFIX is referred to as a make(1) variable. 

Further down, MAKEOBJDIRPREFIX is listed in the "ENVIRONMENT" section, thus
making me suspect it should be always referred to as an environment variable. 

The patch fixes the above issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.