git: 3c113ee25c20 - stable/13 - build: Note paths that must be absolute

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

URL: https://cgit.FreeBSD.org/src/commit/?id=3c113ee25c20bdfc66d310e17451d17f4c1ddb92

commit 3c113ee25c20bdfc66d310e17451d17f4c1ddb92
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2024-11-13 15:13:51 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2024-11-16 15:01:41 +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)
    (cherry picked from commit 54efa38e255184f7f7862294666b017acb093a08)
---
 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 05a82bafbc7e..c6b2f6fd6804 100644
--- a/share/man/man7/build.7
+++ b/share/man/man7/build.7
@@ -22,7 +22,7 @@
 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
 .\" SUCH DAMAGE.
 .\"
-.Dd August 10, 2021
+.Dd November 13, 2024
 .Dt BUILD 7
 .Os
 .Sh NAME
@@ -480,6 +480,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
@@ -492,6 +495,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.