3 .SUFFIXES
: .doc .
dvi .mudtex .tely .texi .ly
6 $(outdir
)/%.latex
: %.doc
8 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) $(LILYPOND_BOOK_FLAGS
) --verbose
--dependencies
--outdir
=$(outdir
) $<
11 # don't do ``cd $(outdir)'', and assume that $(outdir)/.. is the src dir.
12 # it is not, for --srcdir builds
13 $(outdir
)/%.texi
: %.tely
15 set|egrep
'(TEX|LILY)' # ugh, what's this?
16 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) --dependencies
--outdir
=$(outdir
) --format
=$(LILYPOND_BOOK_FORMAT
) --verbose
$(LILYPOND_BOOK_FLAGS
) $<
19 $(outdir
)/%.texi
: $(outdir
)/%.tely
22 # set|egrep '(TEX|LILY)'
23 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) --dependencies
--outdir
=$(outdir
) --format
=$(LILYPOND_BOOK_FORMAT
) --verbose
$(LILYPOND_BOOK_FLAGS
) $<
25 # DON'T REMOVE SOURCE FILES, otherwise the .TEXI ALWAYS OUT OF DATE.
30 # for plain info doco: don't run lily
31 $(outdir
)/%.nexi
: %.tely
33 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) --dependencies
--outdir
=$(outdir
) --format
=$(LILYPOND_BOOK_FORMAT
) --no-lily
$(LILYPOND_BOOK_FLAGS
) -o
$(notdir $@
) $<
36 # nfo: info from non-lily texi
37 $(outdir
)/%.
info: $(outdir
)/%.nexi
38 $(MAKEINFO
) --output
=$(outdir
)/$(*F
).
info $<
40 # nfo: info from non-lily texi
41 #$(outdir)/%.nfo: $(outdir)/%.nexi
42 # $(MAKEINFO) --output=$(outdir)/$(*F).info $<
45 # let's not do this: this interferes with the lilypond-book dependency mechanism.
47 ##$(outdir)/%.tex: $(outdir)/%.ly
48 ## $(LILYPOND) $(LILYPOND_BOOK_INCLUDES) -o $@ $<
53 $(outdir
)/%-book.ps
: $(outdir
)/%.ps
55 pstops
'2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' $<.tmp
$@
57 $(outdir
)/%.pdf
: $(outdir
)/%.
dvi
58 dvips
-u
+lilypond.map
-o
$@.pdfps
-t
$(DVIPS_PAPERSIZE
) -Ppdf
$<
59 ps2pdf
-sPAPERSIZE
=$(DVIPS_PAPERSIZE
) $@.pdfps
$@
62 $(outdir
)/%.html.omf
: %.tely
63 $(call GENERATE_OMF
,html
)
65 $(outdir
)/%.pdf.omf
: %.tely
66 $(call GENERATE_OMF
,pdf
)
68 $(outdir
)/%.ps.gz.omf
: %.tely
69 $(call GENERATE_OMF
,ps.gz
)
72 $(outdir
)/%.html.omf
: $(outdir
)/%.texi
73 $(call GENERATE_OMF
,html
)
75 $(outdir
)/%.pdf.omf
: $(outdir
)/%.texi
76 $(call GENERATE_OMF
,pdf
)
78 $(outdir
)/%.ps.gz.omf
: $(outdir
)/%.texi
79 $(call GENERATE_OMF
,ps.gz
)