* lily/tie-performer.cc (create_audio_elements): bugfix
[lilypond.git] / make / ly-rules.make
blobf270389fbb0f161a314cafa306322fa25ac53cc2
1 # Mudela_rules.make
3 .SUFFIXES: .doc .dvi .mudtex .tely .texi .ly
6 $(outdir)/%.latex: %.doc
7 -chmod a+w $@
8 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) $(LILYPOND_BOOK_FLAGS) --verbose --dependencies --outdir=$(outdir) $<
9 chmod -w $@
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
14 -chmod a+w $@
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) $<
17 chmod -w $@
19 $(outdir)/%.texi: $(outdir)/%.tely
20 -chmod a+w $@
21 # debugging:
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.
26 # rm -f $<
27 chmod -w $@
29 # nexi: no-lily texi
30 # for plain info doco: don't run lily
31 $(outdir)/%.nexi: %.tely
32 -chmod a+w $@
33 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=$(LILYPOND_BOOK_FORMAT) --no-lily $(LILYPOND_BOOK_FLAGS) -o $(notdir $@) $<
34 chmod -w $@
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 $@ $<
51 # Timothy's booklet
53 $(outdir)/%-book.ps: $(outdir)/%.ps
54 psbook $< $<.tmp
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)