From: Julien Rioux Date: Fri, 20 Jan 2012 13:39:35 +0000 (-0500) Subject: Build: Fix for cp: cannot stat `web.texi': No such file or directory. X-Git-Tag: release/2.15.27-1~11 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=04806beb310b3494f2811898419731c2b36a4a1e;p=lilypond.git Build: Fix for cp: cannot stat `web.texi': No such file or directory. We have seen an intermittent bug in `make doc' where `web.texi' was not found when it came time to copy it. This would happen in the cs/ directory first, then running `make doc' again would complete the cs/ translations but die on the de/ or es/ ones. Repeating `make doc' enough times would complete the doc build. I had this happen again and after the 3rd `make doc' decided to try this patch. The next `make doc' completed all of the translations. --- diff --git a/stepmake/stepmake/texinfo-rules.make b/stepmake/stepmake/texinfo-rules.make index 28e3db0308..a3133d6aea 100644 --- a/stepmake/stepmake/texinfo-rules.make +++ b/stepmake/stepmake/texinfo-rules.make @@ -24,11 +24,11 @@ endif touch $@ # Copy files while tracking their dependencies. -$(outdir)/%.texi: $(src-dir)/%.texi +$(outdir)/%.texi: %.texi mkdir -p $(dir $@) $(DO_TEXI_DEP) cp -f $< $@ -$(outdir)/%.itexi: $(src-dir)/%.itexi +$(outdir)/%.itexi: %.itexi mkdir -p $(dir $@) $(DO_TEXI_DEP) cp -f $< $@