From 365a939d7cc15008f761f765d63fcb7647f92064 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Tue, 26 Aug 2025 23:27:03 -0400 Subject: [PATCH] * doc/make.texi: [SV 66974] Explain unmatched include glob patterns --- doc/make.texi | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/make.texi b/doc/make.texi index 58aac28f..54371177 100644 --- a/doc/make.texi +++ b/doc/make.texi @@ -1259,8 +1259,11 @@ include @var{filenames}@dots{} @end example @noindent -@var{filenames} can contain shell file name patterns. If -@var{filenames} is empty, nothing is included and no error is printed. +If @var{filenames} is empty, nothing is included and no error is printed. +@var{filenames} can contain shell file name patterns. If no files match the +pattern, then @code{make} will treat the pattern as a filename and try to +include it (and attempt to rebuild if it doesn't exist--@ref{Remaking +Makefiles, , How Makefiles Are Remade}). @cindex shell file name pattern (in @code{include}) @cindex shell wildcards (in @code{include}) @cindex wildcard, in @code{include} -- 2.47.3