From 3e39ce563b9ba25883e5aa37d9799eda9e57c1e0 Mon Sep 17 00:00:00 2001 From: "Simon J. Gerraty" Date: Tue, 27 Jun 2023 13:29:43 -0700 Subject: Import bmake-20230622 Relevant/interesting changes: o optimize string matching for ':M' and ':N' o warn about malformed patterns in ':M', ':N' and '.if make(...)' o allow guards to be targets as well as variables The guard targets may include variable references like __${.PARSEDIR:tA}/${.PARSEFILE}__ o optimization for makefiles protected from multiple-inclusion skip even opening the file after first include. o var.c: do not allow delete of readOnly variable o parse.c: .break takes no args --- mk/meta.autodep.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mk/meta.autodep.mk') diff --git a/mk/meta.autodep.mk b/mk/meta.autodep.mk index 5f012cdec003..851afce9f8b5 100644 --- a/mk/meta.autodep.mk +++ b/mk/meta.autodep.mk @@ -1,4 +1,4 @@ -# $Id: meta.autodep.mk,v 1.57 2023/05/13 15:52:24 sjg Exp $ +# $Id: meta.autodep.mk,v 1.58 2023/05/25 22:33:23 sjg Exp $ # # @(#) Copyright (c) 2010, Simon J. Gerraty @@ -210,7 +210,8 @@ _depend = .endif .if ${UPDATE_DEPENDFILE} == "yes" -gendirdeps: ${_DEPENDFILE} +gendirdeps: beforegendirdeps .WAIT ${_DEPENDFILE} +beforegendirdeps: .endif .if !target(${_DEPENDFILE}) -- cgit v1.2.3