2 ## settings to run LilyPond
5 export PATH
:=$(builddir
)/lily
/$(outconfbase
):$(builddir
)/buildscripts
/$(outconfbase
):$(PATH
)
7 # LilyPond is often run from within $(outdir), making a relative
9 export LILYPONDPREFIX
:=$(build_lilypond_datadir
)
11 export PYTHONPATH
:=$(topdir
)/python
:$(PYTHONPATH
)
13 ## arg, TEXINPUTS, TFMFONTS, MFINPUTS may still override and thus break this
14 export TEXMF
:={$(LILYPONDPREFIX
),$(shell kpsexpand \
$$TEXMF)}
21 export extra_mem_top
=1000000
22 export extra_mem_bottom
=1000000
23 export pool_size
=500000
27 export PKFONTS
:= $(topdir
)/mf
/out
28 export MT_DESTROOT
:= $(topdir
)/mf
/out
29 export DVIPSMAKEPK
:= mktexpk
--destdir
$(topdir
)/mf
/out
35 the-script-dir
=$(wildcard $(script-dir
))
37 ifneq ($(the-script-dir
),)
39 ### some versions apparently choke on $(message)
40 ### $(message running from source tree stepmake)
42 ABC2LY
= $(script-dir
)/abc2ly.py
43 CONVERT_LY
= $(script-dir
)/convert-ly.py
44 LILYPOND
= $(builddir
)/lily
/$(outconfbase
)/lilypond
45 LILYPOND_BOOK
= $(script-dir
)/lilypond-book.py
46 LILYPOND_BOOK_INCLUDES
= -I
$(pwd
) -I
$(outdir
) -I
$(input-dir
) -I
$(input-dir
)/tricks
/ -I
$(input-dir
)/regression
/ -I
$(input-dir
)/test/ -I
$(input-dir
)/tutorial
/ -I
$(builddir
)/mf
/$(outconfbase
)/ -I
$(builddir
)/mf
/out
/
47 LY2DVI
= $(script-dir
)/ly2dvi.py
48 LYS_TO_TELY
= $(buildscript-dir
)/lys-to-tely.py
52 ### some versions apparently choke on $(message)
53 ### $(message running from installed stepmake)
55 ABC2LY
= $(shell $(SHELL
) -c
'type -p abc2ly')
56 CONVERT_LY
= $(shell $(SHELL
) -c
'type -p convert-ly')
57 LILYPOND
= $(shell $(SHELL
) -c
'type -p lilypond')
58 LILYPOND_BOOK
= $(shell $(SHELL
) -c
'type -p lilypond-book')
59 LILYPOND_BOOK_INCLUDES
= -I.
-I..
-I
$(outdir
)
60 LY2DVI
= $(shell $(SHELL
) -c
'type -p ly2dvi')
61 LYS_TO_TELY
= $(shell $(SHELL
) -c
'type -p lys-to-tely')