From: Julien Rioux <jrioux@physics.utoronto.ca> Date: Sat, 17 Dec 2011 22:53:13 +0000 (-0500) Subject: Build: Fix txt-to-html dependencies. X-Git-Tag: release/2.15.24-1~45 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=dcbe4a2d00afb92b422ca782fa3582247359d029;p=lilypond.git Build: Fix txt-to-html dependencies. --- diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index c6981d5e5e..d1989f9988 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -197,10 +197,13 @@ endif $(outdir)/lilypond-%.info: $(outdir)/%.texi $(outdir)/$(INFO_IMAGES_DIR).info-images-dir-dep $(outdir)/version.itexi $(outdir)/weblinks.itexi $(MAKEINFO) -I$(src-dir) -I$(outdir) --output=$@ $< -# cd $(outdir) rule gets bit hairy for --srcdir configure builds -txt-to-html: - $(foreach a, $(README_TOP_FILES), cp $(top-src-dir)/$(a) $(outdir)/$(a).txt && ) true - $(PYTHON) $(step-bindir)/text2html.py $(OUT_TXT_FILES) +txt-to-html: $(OUT_TXT_FILES) $(OUT_TXT_FILES:%.txt=%.html) + +$(OUT_TXT_FILES): $(outdir)/%.txt: $(top-src-dir)/% + cp -f $< $@ + +$(OUT_TXT_FILES:%.txt=%.html): $(outdir)/%.html: $(outdir)/%.txt + $(PYTHON) $(step-bindir)/text2html.py $< # Explicitly list the dependencies on generated content $(outdir)/web.texi: $(outdir)/we-wrote.itexi $(outdir)/others-did.itexi $(outdir)/weblinks.itexi