From 71db3425027770f98ccde93c0d39a711ec1c6904 Mon Sep 17 00:00:00 2001 From: Graham Percival Date: Tue, 24 Aug 2010 00:24:27 +0100 Subject: [PATCH] Build: another fix for make dist. --- Documentation/GNUmakefile | 13 ++++++++----- Documentation/web/GNUmakefile | 9 ++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index 457d2664a0..e061e629c8 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -143,9 +143,6 @@ $(outdir)/we-wrote.itexi: -o $(outdir)/we-wrote.itexi \ $(src-dir)/web/we-wrote.bib -# duplicate (without ly-examples) of later www-only definition -$(outdir)/web.texi: $(outdir)/we-wrote.itexi $(outdir)/others-did.itexi - ########### ### Targets @@ -222,13 +219,19 @@ $(outdir)/pictures: $(MAKE) -C pictures WWW-1 ln -sf ../pictures/$(outdir) $@ -$(outdir)/web.texi: $(outdir)/ly-examples $(outdir)/we-wrote.itexi $(outdir)/others-did.itexi - $(outdir)/ly-examples: $(MAKE) -C web/ly-examples ln -sf ../web/ly-examples/$(outdir) $@ endif +ifeq ($(out),www) +$(outdir)/web.texi: $(outdir)/ly-examples $(outdir)/we-wrote.itexi $(outdir)/others-did.itexi +else +# duplicate (without ly-examples) +$(outdir)/web.texi: $(outdir)/we-wrote.itexi $(outdir)/others-did.itexi +endif + + # Ugh, using '%' twice not possible $(outdir)/notation/notation.xml: $(outdir)/notation.texi mkdir -p $(dir $@) diff --git a/Documentation/web/GNUmakefile b/Documentation/web/GNUmakefile index 37ce914f53..0435d91702 100644 --- a/Documentation/web/GNUmakefile +++ b/Documentation/web/GNUmakefile @@ -1,12 +1,11 @@ depth = ../.. -STEPMAKE_TEMPLATES=tex documentation -LOCALSTEPMAKE_TEMPLATES = lilypond ly +LOCALSTEPMAKE_TEMPLATES = ly SUBDIRS = ly-examples server include $(depth)/make/stepmake.make -OUT_BIB_FILES = $(addprefix $(outdir)/, $(BIB_FILES)) -EXTRA_DIST_FILES= $(BIB_FILES) $(call src-wildcard,*.bst) -BIB_FILES= $(call src-wildcard,*.bib) +#OUT_BIB_FILES = $(addprefix $(outdir)/, $(BIB_FILES)) +BIB_FILES = $(call src-wildcard,*.bib) +EXTRA_DIST_FILES += $(BIB_FILES) $(call src-wildcard,*.bst) -- 2.39.2