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)' # ugh, what's this?
17 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) --dependencies
--outdir
=$(outdir
) --format
=texi
--verbose
$(LILYPOND_BOOK_FLAGS
) $<
20 $(outdir
)/%.texi
: $(outdir
)/%.tely
23 # set|egrep '(TEX|LILY)'
24 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) --dependencies
--outdir
=$(outdir
) --format
=texi
--verbose
$(LILYPOND_BOOK_FLAGS
) $<
26 # DON'T REMOVE SOURCE FILES, otherwise the .TEXI ALWAYS OUT OF DATE.
31 # for plain info doco: don't run lily
32 $(outdir
)/%.nexi
: %.tely
34 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) --dependencies
--outdir
=$(outdir
) --format
=texi
--no-lily
$(LILYPOND_BOOK_FLAGS
) $<
35 mv
$(@D
)/$(*F
).texi
$@
38 # nfo: info from non-lily texi
39 $(outdir
)/%.
info: $(outdir
)/%.nexi
40 $(MAKEINFO
) --output
=$(outdir
)/$(*F
).
info $<
42 # nfo: info from non-lily texi
43 #$(outdir)/%.nfo: $(outdir)/%.nexi
44 # $(MAKEINFO) --output=$(outdir)/$(*F).info $<
46 $(outdir
)/%.
tex: $(outdir
)/%.ly
47 $(LILYPOND
) $(LILYPOND_BOOK_INCLUDES
) -o
$@
$<
52 $(outdir
)/%-book.ps
: $(outdir
)/%.ps
54 pstops
'2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' $<.tmp
$@
56 $(outdir
)/%.pdf
: $(outdir
)/%.
dvi
57 dvips
-u lilypond.map
-o
$@.pdfps
-Ppdf
$<