1 .SUFFIXES: .doc .dvi .tely .texi .ly
4 $(outdir)/%.latex $(outdir)/%.psfonts: %.doc
5 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) --verbose $(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 rm -f $$(grep -LF '% eof' $(outdir)/lily-*systems.tex 2>/dev/null)
11 $(PYTHON) $(LILYPOND_BOOK) --psfonts $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) --verbose $(LILYPOND_BOOK_FLAGS) $<
14 $(outdir)/%.texi: $(outdir)/%.tely
15 rm -f $$(grep -LF '% eof' $(outdir)/lily-*systems.tex 2>/dev/null)
16 $(PYTHON) $(LILYPOND_BOOK) --psfonts $(LILYPOND_BOOK_INCLUDES) --process='$(LILYPOND) $(LILYPOND_BOOK_INCLUDES)' --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) --verbose $(LILYPOND_BOOK_FLAGS) $<
18 # DON'T REMOVE SOURCE FILES, otherwise the .TEXI ALWAYS OUT OF DATE.
21 # nexi: n[o-lilypond t]exi
22 # for plain info doco: don't run lilypond
23 $(outdir)/%.nexi: %.tely
24 rm -f $(outdir)/$*.texi
25 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --output=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) --verbose $(LILYPOND_BOOK_FLAGS) --process='true' $<
26 mv $(outdir)/$*.texinfo $@ 2>/dev/null || mv $(outdir)/$*.texi $@
28 $(outdir)/%.info: $(outdir)/%.nexi
29 $(MAKEINFO) -I $(outdir) --output=$(outdir)/$(*F).info $<
31 $(outdir)/%.html.omf: %.tely
32 $(call GENERATE_OMF,html)
34 $(outdir)/%.pdf.omf: %.tely
35 $(call GENERATE_OMF,pdf)
37 $(outdir)/%.ps.gz.omf: %.tely
38 $(call GENERATE_OMF,ps.gz)
40 $(outdir)/%.html.omf: $(outdir)/%.texi
41 $(call GENERATE_OMF,html)
43 $(outdir)/%.pdf.omf: $(outdir)/%.texi
44 $(call GENERATE_OMF,pdf)
46 $(outdir)/%.ps.gz.omf: $(outdir)/%.texi
47 $(call GENERATE_OMF,ps.gz)