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) $<
7 # don't do ``cd $(outdir)'', and assume that $(outdir)/.. is the src dir.
8 # it is not, for --srcdir builds
9 $(outdir)/%.texi: %.tely
10 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND_BINARY) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) $(LILYPOND_BOOK_FLAGS) $<
13 $(outdir)/%.texi: $(outdir)/%.tely
14 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND_BINARY) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) $(LILYPOND_BOOK_FLAGS) $<
16 # DON'T REMOVE SOURCE FILES, otherwise the .TEXI ALWAYS OUT OF DATE.
19 # nexi: n[o-lilypond t]exi
20 # for plain info doco: don't run lilypond
21 $(outdir)/%.nexi: %.tely
22 rm -f $(outdir)/$*.texi
23 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) $(LILYPOND_BOOK_FLAGS) --process='true' $<
24 mv -f $(outdir)/$*.texinfo $@ 2>/dev/null || mv -f $(outdir)/$*.texi $@
26 $(outdir)/%.info: $(outdir)/%.nexi
27 $(MAKEINFO) -I $(outdir) --output=$(outdir)/$(*F).info $<
29 $(outdir)/%.html.omf: %.tely
30 $(call GENERATE_OMF,html)
32 $(outdir)/%.pdf.omf: %.tely
33 $(call GENERATE_OMF,pdf)
35 $(outdir)/%.ps.gz.omf: %.tely
36 $(call GENERATE_OMF,ps.gz)
38 $(outdir)/%.html.omf: $(outdir)/%.texi
39 $(call GENERATE_OMF,html)
41 $(outdir)/%.pdf.omf: $(outdir)/%.texi
42 $(call GENERATE_OMF,pdf)
44 $(outdir)/%.ps.gz.omf: $(outdir)/%.texi
45 $(call GENERATE_OMF,ps.gz)