From 1d136d4974b57ac7b3e4401e1cde5ea897e1e91b Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Wed, 2 Oct 2013 14:03:23 +0200 Subject: [PATCH] Build: Also track verbatiminclude'd files (issue 3594). --- stepmake/stepmake/texinfo-vars.make | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/stepmake/stepmake/texinfo-vars.make b/stepmake/stepmake/texinfo-vars.make index b17824c8d7..20170d33b3 100644 --- a/stepmake/stepmake/texinfo-vars.make +++ b/stepmake/stepmake/texinfo-vars.make @@ -17,10 +17,10 @@ $(firstword \ $(outdir)/$(1) \ ) -# Recursively scan the file $(1) for @include, search for included files -# within the texinfo include dirs, and return all dependencies. +# Recursively scan the file $(1) for @include and @verbatiminclude, search for +# included files within the texinfo include dirs, and return all dependencies. scan-texi = \ -$(foreach f, $(shell test -f $(1) && sed -ne "/^@include[[:space:]]/s/@include//p" $(1)), \ +$(foreach f, $(shell test -f $(1) && sed -ne "/^@\(verbatim\)\?include[[:space:]]/s/@\(verbatim\)\?include//p" $(1)), \ $(call find-texi,$(f)) \ $(call scan-texi,$(call find-texi,$(f))) \ ) -- 2.39.2