]> git.donarmstrong.com Git - lilypond.git/commitdiff
Build: another fix for make dist. release/2.13.31-1
authorGraham Percival <gperciva@futoi.(none)>
Mon, 23 Aug 2010 23:24:27 +0000 (00:24 +0100)
committerGraham Percival <graham@percival-music.ca>
Tue, 24 Aug 2010 13:43:20 +0000 (14:43 +0100)
Documentation/GNUmakefile
Documentation/web/GNUmakefile

index 457d2664a0b5e45a474e34ac0dd88c699a94ea30..e061e629c836bf98e3cb1764c98069d62820746d 100644 (file)
@@ -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 $@)
index 37ce914f53ff021d4d967c597e826322c2f1160d..0435d9170299dacafee7d6e87c87d79ca81d588c 100644 (file)
@@ -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)