From 746c786126bfca40e6ba47e0398253ae1e859436 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Fri, 16 Dec 2011 17:38:40 -0500 Subject: [PATCH] Build: Unify the rule for bib files. --- Documentation/GNUmakefile | 12 ------------ make/ly-rules.make | 6 ++++++ 2 files changed, 6 insertions(+), 12 deletions(-) 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 -- 2.39.2