From: Julien Rioux Date: Fri, 16 Dec 2011 22:38:40 +0000 (-0500) Subject: Build: Unify the rule for bib files. X-Git-Tag: release/2.15.24-1~46 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=746c786126bfca40e6ba47e0398253ae1e859436;p=lilypond.git Build: Unify the rule for bib files. --- diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index 94dcb9c16d..c6981d5e5e 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -134,18 +134,6 @@ $(outdir)/essay.texi: \ $(outdir)/computer-notation.itexi \ $(outdir)/engravingbib.itexi -$(outdir)/others-did.itexi: - BSTINPUTS=$(src-dir)/web/ $(buildscript-dir)/bib2texi \ - -s $(top-src-dir)/Documentation/lily-bib \ - -o $(outdir)/others-did.itexi \ - $(src-dir)/web/others-did.bib - -$(outdir)/we-wrote.itexi: - BSTINPUTS=$(src-dir)/web/ $(buildscript-dir)/bib2texi \ - -s $(top-src-dir)/Documentation/lily-bib \ - -o $(outdir)/we-wrote.itexi \ - $(src-dir)/web/we-wrote.bib - ########### ### Targets diff --git a/make/ly-rules.make b/make/ly-rules.make index a876b04f18..0461e1b9c6 100644 --- a/make/ly-rules.make +++ b/make/ly-rules.make @@ -40,3 +40,9 @@ $(outdir)/%.html.omf: $(outdir)/%.texi $(outdir)/%.pdf.omf: $(outdir)/%.texi $(call GENERATE_OMF,pdf) + +$(outdir)/others-did.itexi $(outdir)/we-wrote.itexi: $(outdir)/%.itexi: $(top-src-dir)/Documentation/web/%.bib $(top-src-dir)/Documentation/lily-bib.bst + BSTINPUTS=$(top-src-dir)/Documentation/web/ $(buildscript-dir)/bib2texi \ + -s $(top-src-dir)/Documentation/lily-bib \ + -o $(outdir)/$*.itexi \ + $(top-src-dir)/Documentation/web/$*.bib