3 .SUFFIXES: .doc .dvi .mudtex .tely .texi .ly
6 $(outdir)/%.latex: %.doc
8 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES)\
9 $(LILYPOND_BOOK_FLAGS) --verbose --dependencies --outdir=$(outdir) $<
12 # don't do ``cd $(outdir)'', and assume that $(outdir)/.. is the src dir.
13 # it is not, for --srcdir builds
14 $(outdir)/%.texi: %.tely
16 set|egrep '(TEX|LILY)'
18 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi --verbose $(LILYPOND_BOOK_FLAGS) $<
21 $(outdir)/%.texi: $(outdir)/%.tely
23 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi $(LILYPOND_BOOK_FLAGS) $<
28 # for plain info doco: don't run lily
29 $(outdir)/%.nexi: %.tely
31 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi --no-lily $(LILYPOND_BOOK_FLAGS) $<
32 mv $(@D)/$(*F).texi $@
35 # nfo: info from non-lily texi
36 $(outdir)/%.info: $(outdir)/%.nexi
37 $(MAKEINFO) --output=$(outdir)/$(*F).info $<
39 # nfo: info from non-lily texi
40 #$(outdir)/%.nfo: $(outdir)/%.nexi
41 # $(MAKEINFO) --output=$(outdir)/$(*F).info $<
43 $(outdir)/%.tex: $(outdir)/%.ly
44 $(LILYPOND) $(LILYPOND_BOOK_INCLUDES) -o $@ $<
49 $(outdir)/%-book.ps: $(outdir)/%.ps
51 pstops '2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' $<.tmp $@
53 $(outdir)/%.pdf: $(outdir)/%.dvi
54 dvips -u lilypond.map -o $@.pdfps -Ppdf $<