summaryrefslogtreecommitdiff
path: root/stepmake
diff options
context:
space:
mode:
authorJulien Rioux <julien.rioux@gmail.com>2013-10-02 14:03:23 +0200
committerJulien Rioux <julien.rioux@gmail.com>2013-10-10 22:32:00 +0200
commit1d136d4974b57ac7b3e4401e1cde5ea897e1e91b (patch)
tree2e1e1d98f5a911125fa1b0861162221deca9c017 /stepmake
parent6e0fe2e4b035734f730d8c3cfaf93398eaff68e7 (diff)
Build: Also track verbatiminclude'd files (issue 3594).
Diffstat (limited to 'stepmake')
-rw-r--r--stepmake/stepmake/texinfo-vars.make6
1 files 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))) \
)