]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/GNUmakefile
Don't crash on a pending spanner in Staff_symbol_engraver dtor.
[lilypond.git] / Documentation / 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 $@)