2 ## settings to run LilyPond
4 # environment settings.
5 export PATH
:=$(builddir
)/lily
/$(outconfbase
):$(builddir
)/buildscripts
/$(outconfbase
):$(builddir
)/scripts
/$(outconfbase
):$(PATH
):
6 export LILYPONDPREFIX
:=$(build_lilypond_datadir
)/$(TOPLEVEL_VERSION
)
7 export PYTHONPATH
:=$(builddir
)/python
/$(outconfbase
):$(PYTHONPATH
)
8 export DVIPSHEADERS
:=$(builddir
)/mf
/out
::
13 the-script-dir
=$(wildcard $(script-dir
))
16 ABC2LY
= $(script-dir
)/abc2ly.py
17 CONVERT_LY
= $(script-dir
)/convert-ly.py
18 LILYPOND
= $(builddir
)/lily
/$(outconfbase
)/lilypond
19 LILYPOND_BOOK
= $(script-dir
)/lilypond-book.py
20 LILYPOND_BOOK_INCLUDES
= -I
$(pwd
) -I
$(outdir
) -I
$(input-dir
) -I
$(input-dir
)/regression
/ -I
$(input-dir
)/test/ -I
$(input-dir
)/tutorial
/ -I
$(builddir
)/mf
/$(outconfbase
)/ -I
$(builddir
)/mf
/out
/
21 LILYPOND_BOOK_FLAGS
= --process
="$(LILYPOND) --backend=eps --formats=ps,png --header=texidoc -I $(srcdir)/input/test -dinternal-type-checking"
24 #texi-html for www only:
25 LILYPOND_BOOK_FORMAT
=$(if
$(subst out-www
,,$(notdir $(outdir
))),texi
,texi-html
)
27 LYS_TO_TELY
= $(buildscript-dir
)/lys-to-tely.py