From: John Mandereau Date: Sun, 24 Feb 2008 08:36:52 +0000 (+0100) Subject: Define ly rules for docs with ly images if out is non empty X-Git-Tag: release/2.11.41-1~8^2^2~1 X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=d839aaeb13f29eca8c46b2478409dcc93f1cb7fd;p=lilypond.git Define ly rules for docs with ly images if out is non empty This should fix 'make test' --- diff --git a/make/ly-rules.make b/make/ly-rules.make index 1f63f9e4a2..75a5eeebe5 100644 --- a/make/ly-rules.make +++ b/make/ly-rules.make @@ -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)