lilypond-1.5.10
[lilypond.git] / make / ly-rules.make
blob81cb51cb6d6edd4fa4a65941ec30aed92f301f47
1 # Mudela_rules.make
3 .SUFFIXES: .doc .dvi .mudtex .tely .texi .ly
6 $(outdir)/%.latex: %.doc
7 rm -f $@
8 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --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 rm -f $@
15 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi $<
16 chmod -w $@
18 $(outdir)/%.texi: $(outdir)/%.tely
19 rm -f $@
20 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi $<
21 rm -f $<
22 chmod -w $@
24 # nexi: no-lily texi
25 # for plain info doco: don't run lily
26 $(outdir)/%.nexi: %.tely
27 rm -f $@
28 $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi --no-lily $<
29 mv $(@D)/$(*F).texi $@
30 chmod -w $@
32 # nfo: info from non-lily texi
33 $(outdir)/%.info: $(outdir)/%.nexi
34 $(MAKEINFO) --output=$(outdir)/$(*F).info $<
36 # nfo: info from non-lily texi
37 #$(outdir)/%.nfo: $(outdir)/%.nexi
38 # $(MAKEINFO) --output=$(outdir)/$(*F).info $<
40 $(outdir)/%.tex: $(outdir)/%.ly
41 $(LILYPOND) $(LILYPOND_BOOK_INCLUDES) -o $@ $<
44 # Timothy's booklet
46 $(outdir)/%-book.ps: $(outdir)/%.ps
47 psbook $< $<.tmp
48 pstops '2:0L@.7(21cm,0)+1L@.7(21cm,14.85cm)' $<.tmp $@