1 .SUFFIXES
: .doc .
dvi .mudtex .tely .texi .ly
4 $(outdir
)/%.latex
: %.doc
5 if
[ -f
$@
]; then chmod a
+w
$@
; fi
6 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) $(LILYPOND_BOOK_FLAGS
) --verbose
--dependencies
--outdir
=$(outdir
) $<
9 # don't do ``cd $(outdir)'', and assume that $(outdir)/.. is the src dir.
10 # it is not, for --srcdir builds
11 $(outdir
)/%.texi
: %.tely
12 if
[ -f
$@
]; then chmod a
+w
$@
; fi
13 set|egrep
'(TEX|LILY)' # ugh, what's this?
14 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) --dependencies
--outdir
=$(outdir
) --format
=$(LILYPOND_BOOK_FORMAT
) --verbose
$(LILYPOND_BOOK_FLAGS
) $<
17 $(outdir
)/%.texi
: $(outdir
)/%.tely
18 if
[ -f
$@
]; then chmod a
+w
$@
; fi
20 # set|egrep '(TEX|LILY)'
21 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) --dependencies
--outdir
=$(outdir
) --format
=$(LILYPOND_BOOK_FORMAT
) --verbose
$(LILYPOND_BOOK_FLAGS
) $<
23 # DON'T REMOVE SOURCE FILES, otherwise the .TEXI ALWAYS OUT OF DATE.
28 # for plain info doco: don't run lily
29 $(outdir
)/%.nexi
: %.tely
30 if
[ -f
$@
]; then chmod a
+w
$@
; fi
31 $(PYTHON
) $(LILYPOND_BOOK
) $(LILYPOND_BOOK_INCLUDES
) --dependencies
--outdir
=$(outdir
) --format
=$(LILYPOND_BOOK_FORMAT
) --no-lily
$(LILYPOND_BOOK_FLAGS
) -o
$(notdir $@
) $<
34 # nfo: info from non-lily texi
35 $(outdir
)/%.
info: $(outdir
)/%.nexi
36 $(MAKEINFO
) --output
=$(outdir
)/$(*F
).
info $<
38 # nfo: info from non-lily texi
39 #$(outdir)/%.nfo: $(outdir)/%.nexi
40 # $(MAKEINFO) --output=$(outdir)/$(*F).info $<
43 # let's not do this: this interferes with the lilypond-book dependency mechanism.
45 ##$(outdir)/%.tex: $(outdir)/%.ly
46 ## $(LILYPOND) $(LILYPOND_BOOK_INCLUDES) -o $@ $<
51 $(outdir
)/%-book.ps
: $(outdir
)/%.ps
53 pstops
'2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' $<.tmp
$@
55 $(outdir
)/%.pdf
: $(outdir
)/%.
dvi
56 dvips
-u
+lilypond.map
-o
$@.pdfps
-t
$(DVIPS_PAPERSIZE
) -Ppdf
$<
57 ps2pdf
-sPAPERSIZE
=$(DVIPS_PAPERSIZE
) $@.pdfps
$@
60 $(outdir
)/%.html.omf
: %.tely
61 $(call GENERATE_OMF
,html
)
63 $(outdir
)/%.pdf.omf
: %.tely
64 $(call GENERATE_OMF
,pdf
)
66 $(outdir
)/%.ps.gz.omf
: %.tely
67 $(call GENERATE_OMF
,ps.gz
)
70 $(outdir
)/%.html.omf
: $(outdir
)/%.texi
71 $(call GENERATE_OMF
,html
)
73 $(outdir
)/%.pdf.omf
: $(outdir
)/%.texi
74 $(call GENERATE_OMF
,pdf
)
76 $(outdir
)/%.ps.gz.omf
: $(outdir
)/%.texi
77 $(call GENERATE_OMF
,ps.gz
)