1 .SUFFIXES: .doc .tely .texi .ly
4 $(outdir)/%.latex: %.doc
5 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND_BINARY) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) $(LILYPOND_BOOK_FLAGS) $<
9 # don't do ``cd $(outdir)'', and assume that $(outdir)/.. is the src dir.
10 # it is not, for --srcdir builds
11 $(outdir)/%.texi: %.tely
12 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND_BINARY) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) $(LILYPOND_BOOK_FLAGS) $<
15 $(outdir)/%.texi: $(outdir)/%.tely
16 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND_BINARY) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) $(LILYPOND_BOOK_FLAGS) $<
18 # DON'T REMOVE SOURCE FILES, otherwise the .TEXI ALWAYS OUT OF DATE.
23 # nexi: n[o-lilypond t]exi
24 # for plain info doco: don't run lilypond
25 $(outdir)/%.nexi: %.tely
26 rm -f $(outdir)/$*.texi
27 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) $(LILYPOND_BOOK_FLAGS) --process='true' $<
28 mv -f $(outdir)/$*.texinfo $@ 2>/dev/null || mv -f $(outdir)/$*.texi $@
30 $(outdir)/%.info: $(outdir)/%.nexi
31 $(MAKEINFO) -I $(outdir) --output=$(outdir)/$(*F).info $<
35 $(outdir)/%.html.omf: %.tely
36 $(call GENERATE_OMF,html)
38 $(outdir)/%.pdf.omf: %.tely
39 $(call GENERATE_OMF,pdf)
41 $(outdir)/%.ps.gz.omf: %.tely
42 $(call GENERATE_OMF,ps.gz)
44 $(outdir)/%.html.omf: $(outdir)/%.texi
45 $(call GENERATE_OMF,html)
47 $(outdir)/%.pdf.omf: $(outdir)/%.texi
48 $(call GENERATE_OMF,pdf)
50 $(outdir)/%.ps.gz.omf: $(outdir)/%.texi
51 $(call GENERATE_OMF,ps.gz)