projects
/
lilypond.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b7bc3
)
Build: Only sed through an input file if it exists.
author
Julien Rioux
<julien.rioux@gmail.com>
Thu, 12 Sep 2013 10:00:10 +0000
(12:00 +0200)
committer
Julien Rioux
<julien.rioux@gmail.com>
Wed, 18 Sep 2013 09:41:54 +0000
(
05:41
-0400)
stepmake/stepmake/texinfo-vars.make
patch
|
blob
|
history
diff --git
a/stepmake/stepmake/texinfo-vars.make
b/stepmake/stepmake/texinfo-vars.make
index d164356555ded29e50d405e3364a554d27f99f4c..c370990413aa65b4da9a4ac74954a80dc9ddb93e 100644
(file)
--- a/
stepmake/stepmake/texinfo-vars.make
+++ b/
stepmake/stepmake/texinfo-vars.make
@@
-20,7
+20,7
@@
$(firstword \
# Recursively scan the file $(1) for @include, search for included files
# within the texinfo include dirs, and return all dependencies.
scan-texi = \
-$(foreach f, $(shell sed -ne "/^@include[[:space:]]/s/@include//p" $(1)), \
+$(foreach f, $(shell
test -f $(1) &&
sed -ne "/^@include[[:space:]]/s/@include//p" $(1)), \
$(call find-texi,$(f)) \
$(call scan-texi,$(call find-texi,$(f))) \
)