3 .SUFFIXES
: .doc .
dvi .mudtex .tely .texi .ly
6 $(outdir
)/%.latex
: %.doc
8 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
)\
9 $(LILYPOND_BOOK_FLAGS
) --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 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) --dependencies
--outdir
=$(outdir
) --format
=texi
$(LILYPOND_BOOK_FLAGS
) $<
19 $(outdir
)/%.texi
: $(outdir
)/%.tely
21 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) --dependencies
--outdir
=$(outdir
) --format
=texi
$(LILYPOND_BOOK_FLAGS
) $<
26 # for plain info doco: don't run lily
27 $(outdir
)/%.nexi
: %.tely
29 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) --dependencies
--outdir
=$(outdir
) --format
=texi
--no-lily
$(LILYPOND_BOOK_FLAGS
) $<
30 mv
$(@D
)/$(*F
).texi
$@
33 # nfo: info from non-lily texi
34 $(outdir
)/%.
info: $(outdir
)/%.nexi
35 $(MAKEINFO
) --output
=$(outdir
)/$(*F
).
info $<
37 # nfo: info from non-lily texi
38 #$(outdir)/%.nfo: $(outdir)/%.nexi
39 # $(MAKEINFO) --output=$(outdir)/$(*F).info $<
41 $(outdir
)/%.
tex: $(outdir
)/%.ly
42 $(LILYPOND
) $(LILYPOND_BOOK_INCLUDES
) -o
$@
$<
47 $(outdir
)/%-book.ps
: $(outdir
)/%.ps
49 pstops
'2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' $<.tmp
$@