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
)/ $<
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
$<
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
$@
24 $(outdir
)/%.
info: $(outdir
)/%.nexi
25 -$(MAKEINFO
) --force --output
=$@
$<