From 608c933383697574c61efe2e9c47982f23ee2ee2 Mon Sep 17 00:00:00 2001 From: Julien Rioux Date: Sat, 14 Sep 2013 21:24:03 +0200 Subject: [PATCH] Build: Fix Documentation/css, ly-examples, pictures, topdocs. Part of issue 3562: Build everything on first pass of make doc http://code.google.com/p/lilypond/issues/detail?id=3562 --- Documentation/GNUmakefile | 6 +++--- Documentation/ly-examples/GNUmakefile | 2 +- Documentation/topdocs/GNUmakefile | 2 +- make/doc-i18n-root-rules.make | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Documentation/GNUmakefile b/Documentation/GNUmakefile index 44d4d04b02..407bce6191 100644 --- a/Documentation/GNUmakefile +++ b/Documentation/GNUmakefile @@ -212,17 +212,17 @@ ifeq ($(out),www) $(OUT_TEXINFO_MANUALS): $(outdir)/pictures $(outdir)/pictures: - $(MAKE) -C pictures WWW-1 + $(MAKE) -C pictures out=www WWW-1 ln -sf ../pictures/$(outdir) $@ $(outdir)/web.texi: $(outdir)/css $(outdir)/ly-examples $(outdir)/css: - $(MAKE) -C css + $(MAKE) -C css out=www WWW-1 ln -sf ../css/$(outdir) $@ $(outdir)/ly-examples: - $(MAKE) -C ly-examples + $(MAKE) -C ly-examples out=www WWW-1 ln -sf ../ly-examples/$(outdir) $@ endif diff --git a/Documentation/ly-examples/GNUmakefile b/Documentation/ly-examples/GNUmakefile index ad1c84ae49..c5c800b6e4 100644 --- a/Documentation/ly-examples/GNUmakefile +++ b/Documentation/ly-examples/GNUmakefile @@ -10,7 +10,7 @@ OUT_PNG_PAGES = $(PNG_PAGES:%=$(outdir)/%.png) OUT_SMALL_PNG_FILES = $(OUT_PNG_FILES:%.png=%-small.png) ifeq ($(out),www) -all: $(OUT_PNG_FILES) $(OUT_SMALL_PNG_FILES) +local-WWW-1: $(OUT_PNG_FILES) $(OUT_SMALL_PNG_FILES) endif $(outdir)/%.png: %.ly diff --git a/Documentation/topdocs/GNUmakefile b/Documentation/topdocs/GNUmakefile index ce3dc1f42b..3dd3ef3c8b 100644 --- a/Documentation/topdocs/GNUmakefile +++ b/Documentation/topdocs/GNUmakefile @@ -2,7 +2,7 @@ depth = ../.. STEPMAKE_TEMPLATES=documentation tex texinfo topdocs LOCALSTEPMAKE_TEMPLATES=lilypond ly -OUT_TEXI_FILES = $(TELY_FILES:%.tely=$(outdir)/%.texi) +OUT_TEXI_FILES = $(TEXI_FILES:%.texi=$(outdir)/%.texi) $(TELY_FILES:%.tely=$(outdir)/%.texi) HTML_FILES=$(TEXI_FILES:%.texi=$(outdir)/%.html) $(TELY_FILES:%.tely=$(outdir)/%.html) README_TOP_FILES=NEWS AUTHORS INSTALL README OUTTXT_FILES= $(outdir)/NEWS.txt diff --git a/make/doc-i18n-root-rules.make b/make/doc-i18n-root-rules.make index a8e7ab5ede..43a2b78278 100644 --- a/make/doc-i18n-root-rules.make +++ b/make/doc-i18n-root-rules.make @@ -32,7 +32,7 @@ $(outdir)/%.png: $(top-build-dir)/Documentation/$(outdir)/%.png $(MASTER_TEXI_FILES): $(ITELY_FILES) $(ITEXI_FILES) $(outdir)/pictures $(outdir)/pictures: - $(MAKE) -C $(top-build-dir)/Documentation/pictures WWW-1 + $(MAKE) -C $(top-build-dir)/Documentation/pictures out=www WWW-1 ln -sf $(top-build-dir)/Documentation/pictures/$(outdir) $@ $(TRANSLATION_LILY_IMAGES): $(MASTER_TEXI_FILES) -- 2.39.2