git: 54efa38e2551 - stable/14 - build: Note paths that must be absolute

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Sat, 16 Nov 2024 15:00:21 UTC
The branch stable/14 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=54efa38e255184f7f7862294666b017acb093a08

commit 54efa38e255184f7f7862294666b017acb093a08
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-11-13 15:13:51 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-11-16 14:59:22 +0000

    build: Note paths that must be absolute
    
    PR:             282711
    PR:             282737
    Sponsored by:   The FreeBSD Foundation
    
    (cherry picked from commit 75af1320f4b57fb568ec4f6df6171a0343953f4f)
    (cherry picked from commit 02dc158215a69c6439e5a0809e5f9c79e62c5fd1)
---
 share/man/man7/build.7 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/share/man/man7/build.7 b/share/man/man7/build.7
index 427f01e1223d..4bff6164dd56 100644
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -25,7 +25,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd June 4, 2024
+.Dd November 13, 2024
 .Dt BUILD 7
 .Os
 .Sh NAME
@@ -500,6 +500,9 @@ The directory hierarchy prefix where built objects will be installed.
 If not set,
 .Va DESTDIR
 defaults to the empty string.
+If set,
+.Va DESTDIR
+must specify an absolute path.
 .It Va MAKEOBJDIRPREFIX
 Defines the prefix for directory names in the tree of built objects.
 Defaults to
@@ -512,6 +515,8 @@ and not via
 or
 .Pa /etc/src.conf
 or the command line.
+.Va MAKEOBJDIRPREFIX
+must specify an absolute path.
 .It Va WITHOUT_WERROR
 If defined, compiler warnings will not cause the build to halt,
 even if the makefile says otherwise.