$(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
# 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
$(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)