]> git.donarmstrong.com Git - lilypond.git/blob - make/ly-rules.make
92839d41a02cc9acb946fa2bd48028bacb2cdf05
[lilypond.git] / make / ly-rules.make
1 # Mudela_rules.make
2
3 .SUFFIXES: .doc .dvi .mudtex .tely .texi
4
5
6 $(outdir)/%.latex: %.doc
7         rm -f $@
8 #       LILYPONDPREFIX=$(LILYPONDPREFIX)/..  $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) $<
9         $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) $<
10         chmod -w $@
11
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
15         rm -f $@
16 #       LILYPONDPREFIX=$(LILYPONDPREFIX)/..  $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi $<
17         $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi $<
18         chmod -w $@
19
20 # nexi: no-lily texi
21 # for plain info doco: don't run lily
22 $(outdir)/%.nexi: %.tely
23         rm -f $@
24 #       LILYPONDPREFIX=$(LILYPONDPREFIX)/..  $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi --no-lily $<
25         $(PYTHON) $(LILYPOND_BOOK) $(LILYPOND_BOOK_INCLUDES) --dependencies --outdir=$(outdir) --format=texi --no-lily $<
26         mv $(@D)/$(*F).texi $@
27         chmod -w $@
28
29 # nfo: info from non-lily texi
30 $(outdir)/%.info: $(outdir)/%.nexi
31         -$(MAKEINFO) --force --output=$(outdir)/$(*F).info $<
32
33 # nfo: info from non-lily texi
34 #$(outdir)/%.nfo: $(outdir)/%.nexi
35 #       -$(MAKEINFO) --force --output=$(outdir)/$(*F).info $<