lilypond-1.3.129
[lilypond.git] / make / mudela-rules.make
blob28fd1893a7c0c742e62dbf890647d9e93fb1d2d7
1 # Mudela_rules.make
3 .SUFFIXES: .doc .dvi .mudtex .tely .texi
5 SUBST_TEXI_DEPS=sed 's! \.\./! !g' < $(basename $@).dep > $(outdir)/temp.dep ; mv $(outdir)/temp.dep $(basename $@).dep
7 $(outdir)/%.latex: %.doc
8 LILYPONDPREFIX=$(LILYPONDPREFIX)/.. $(PYTHON) $(script-dir)/mudela-book.py --outdir=$(outdir) -I .. -I $(input-dir)/test/ --dependencies --dep-prefix=$(outdir)/ $<
9 $(SUBST_TEXI_DEPS)
11 # don't do ``cd $(outdir)'', and assume that $(outdir)/.. is the src dir.
12 # it is not, for --scrdir builds
13 $(outdir)/%.texi: %.tely
14 LILYPONDPREFIX=$(LILYPONDPREFIX)/.. $(PYTHON) $(script-dir)/mudela-book.py --outdir=$(outdir) -I .. -I $(input-dir)/test/ --dependencies --dep-prefix=$(outdir)/ --format=texi $<
15 $(SUBST_TEXI_DEPS)
17 # nexi: no-lily texi
18 # for plain info doco: don't run lily
19 $(outdir)/%.nexi: %.tely
20 LILYPONDPREFIX=$(LILYPONDPREFIX)/.. $(PYTHON) $(script-dir)/mudela-book.py --outdir=$(outdir) --no-lily -I .. -I $(input-dir)/test/ --dependencies --dep-prefix=$(outdir)/ --format=texi $<
21 mv $(@D)/$(*F).texi $@
22 $(SUBST_TEXI_DEPS)
24 $(outdir)/%.info: $(outdir)/%.nexi
25 -$(MAKEINFO) --force --output=$@ $<