]> git.donarmstrong.com Git - lilypond.git/blobdiff - make/ly-rules.make
Define ly rules for docs with ly images if out is non empty
[lilypond.git] / make / ly-rules.make
index 1f63f9e4a2e97283665a546ebe3ca76c282df693..75a5eeebe5e01082c65f8612ea10501281b1de42 100644 (file)
@@ -4,7 +4,7 @@
 $(outdir)/%.latex:  %.doc
        $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND_BINARY) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir)  $(LILYPOND_BOOK_FLAGS) $<
 
-ifeq ($(out),www)
+ifneq ($(out),)
 
 # don't do ``cd $(outdir)'', and assume that $(outdir)/.. is the src dir.
 # it is not, for --srcdir builds
@@ -18,7 +18,7 @@ $(outdir)/%.texi: $(outdir)/%.tely
 # DON'T REMOVE SOURCE FILES, otherwise the .TEXI ALWAYS OUT OF DATE.
 #      rm -f $<
 
-else # out != www
+else # out is empty
 
 # nexi: n[o-lilypond t]exi
 # for plain info doco: don't run lilypond
@@ -30,7 +30,7 @@ $(outdir)/%.nexi: %.tely
 $(outdir)/%.info: $(outdir)/%.nexi
        $(MAKEINFO) -I $(outdir) --output=$(outdir)/$(*F).info $<
 
-endif # out != www
+endif # out is empty
 
 $(outdir)/%.html.omf: %.tely
        $(call GENERATE_OMF,html)