Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make/unit-tests Pass MAKEOBJDIR to opt-m-include-dir



details:   https://anonhg.NetBSD.org/src/rev/9fe39483e951
branches:  trunk
changeset: 368674:9fe39483e951
user:      sjg <sjg%NetBSD.org@localhost>
date:      Tue Jul 26 19:32:25 2022 +0000

description:
Pass MAKEOBJDIR to opt-m-include-dir

Prevent makeing opt-m-include-dir.tmp in src tree.

Reviewed by: rillig

diffstat:

 usr.bin/make/unit-tests/Makefile |  3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diffs (17 lines):

diff -r ace50c31d9e0 -r 9fe39483e951 usr.bin/make/unit-tests/Makefile
--- a/usr.bin/make/unit-tests/Makefile  Tue Jul 26 16:51:42 2022 +0000
+++ b/usr.bin/make/unit-tests/Makefile  Tue Jul 26 19:32:25 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.318 2022/06/10 21:28:50 rillig Exp $
+# $NetBSD: Makefile,v 1.319 2022/07/26 19:32:25 sjg Exp $
 #
 # Unit tests for make(1)
 #
@@ -469,6 +469,7 @@
 ENV.depsrc-optional+=   TZ=UTC
 ENV.directive-undef=   ENV_VAR=env-value
 ENV.envfirst=          FROM_ENV=value-from-env
+ENV.opt-m-include-dir= ${MAKEOBJDIR:DMAKEOBJDIR=${MAKEOBJDIR}}
 ENV.varmisc=           FROM_ENV=env
 ENV.varmisc+=          FROM_ENV_BEFORE=env
 ENV.varmisc+=          FROM_ENV_AFTER=env



Home | Main Index | Thread Index | Old Index