]> git.donarmstrong.com Git - lilypond.git/commitdiff
Build: Small dependency fix (issue 3442).
authorJulien Rioux <julien.rioux@gmail.com>
Sun, 7 Jul 2013 18:10:40 +0000 (20:10 +0200)
committerJulien Rioux <jrioux@physics.utoronto.ca>
Thu, 18 Jul 2013 14:21:53 +0000 (10:21 -0400)
This sets the dependency of texi files more accurately and it rids
us of strange errors like the following from building the zh doc:

  Must remake target `web.texi'.
  Ignoring VPATH name `~/git/lilypond/Documentation/zh/web.texi'.
  Successfully remade target file `web.texi'.
 [...]
 Finished prerequisites of target file `out-www/web.texi'.
Must remake target `out-www/web.texi'.
mkdir -p out-www/
( echo ./out-www/web.texi:  > out-www/web.dep ) && cp -f web.texi out-www/web.texi
cp: cannot stat `web.texi': No such file or directory
make[1]: *** [out-www/web.texi] Error 1

make/doc-i18n-root-vars.make

index 2b2242427b99f3174dae747d06a1c32d7c6ecaa9..e279c6d88d13a562c3d20b58d42cfe91a9dc43ad 100644 (file)
@@ -4,7 +4,7 @@ LANGS = $(shell $(PYTHON) $(top-src-dir)/python/langdefs.py)
 
 TELY_FILES := $(call src-wildcard,*.tely)
 TEXI_FILES := $(call src-wildcard,*.texi)
-MASTER_TEXI_FILES := $(TEXI_FILES) $(TELY_FILES:%.tely=$(outdir)/%.texi)
+MASTER_TEXI_FILES := $(TEXI_FILES:%=$(outdir)/%) $(TELY_FILES:%.tely=$(outdir)/%.texi)
 
 TEXINFO_MANUALS =\
  $(TELY_FILES:%.tely=%)\