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:=$(builddir)/python/$(outdir):$(PYTHONPATH)
13 ## arg, TEXINPUTS, TFMFONTS, MFINPUTS may still override and thus break this
14 export TEXMF:={$(LILYPONDPREFIX),$(shell kpsexpand \$$TEXMF)}
19 export extra_mem_top=1000000
20 export extra_mem_bottom=1000000
21 export pool_size=500000
25 export PKFONTS := $(topdir)/mf/out
26 export MT_DESTROOT := $(topdir)/mf/out
27 export DVIPSMAKEPK := mktexpk --destdir $(topdir)/mf/out
33 the-script-dir=$(wildcard $(script-dir))
35 ifneq ($(the-script-dir),)
37 ### some versions apparently choke on $(message)
38 ### $(message running from source tree stepmake)
40 ABC2LY = $(script-dir)/abc2ly.py
41 CONVERT_LY = $(script-dir)/convert-ly.py
42 LILYPOND = $(builddir)/lily/$(outconfbase)/lilypond
43 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
44 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/
45 LILYPOND_BOOK_FORMAT = texi
46 LY2DVI = $(script-dir)/ly2dvi.py
47 LYS_TO_TELY = $(buildscript-dir)/lys-to-tely.py
51 ### some versions apparently choke on $(message)
52 ### $(message running from installed stepmake)
54 ABC2LY = $(shell $(SHELL) -c 'type -p abc2ly')
55 CONVERT_LY = $(shell $(SHELL) -c 'type -p convert-ly')
56 LILYPOND = $(shell $(SHELL) -c 'type -p lilypond')
57 LILYPOND_BOOK = $(shell $(SHELL) -c 'type -p lilypond-book')
58 LILYPOND_BOOK_INCLUDES = -I. -I.. -I$(outdir)
59 LILYPOND_BOOK_FORMAT = texi
60 LY2DVI = $(shell $(SHELL) -c 'type -p ly2dvi')
61 LYS_TO_TELY = $(shell $(SHELL) -c 'type -p lys-to-tely')