]> git.donarmstrong.com Git - lilypond.git/commitdiff
Build: Fix for cp: cannot stat `web.texi': No such file or directory.
authorJulien Rioux <jrioux@physics.utoronto.ca>
Fri, 20 Jan 2012 13:39:35 +0000 (08:39 -0500)
committerJulien Rioux <jrioux@physics.utoronto.ca>
Sun, 22 Jan 2012 19:34:51 +0000 (14:34 -0500)
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.

stepmake/stepmake/texinfo-rules.make

index 28e3db0308b3eb177dacb5537457b72cba2370d9..a3133d6aeae0e10522058c5accab51c641650f38 100644 (file)
@@ -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 $< $@