]> git.donarmstrong.com Git - lilypond.git/blob - make/lilypond-vars.make
Imported sources
[lilypond.git] / make / lilypond-vars.make
1 ##
2 ## settings to run LilyPond
3
4
5 export PATH:=$(builddir)/lily/$(outconfbase):$(builddir)/buildscripts/$(outconfbase):$(PATH)
6
7 # LilyPond is often run from within $(outdir), making a relative
8 # PREFIX incorrect.
9 export LILYPONDPREFIX:=$(build_lilypond_datadir)
10
11 export PYTHONPATH:=$(builddir)/python/$(outconfbase):$(PYTHONPATH)
12
13 ## arg, TEXINPUTS, TFMFONTS, MFINPUTS may still override and thus break this
14 export TEXMF:={$(LILYPONDPREFIX),$(shell kpsexpand \$$TEXMF)}
15
16 export MFINPUTS:=
17 export TEXINPUTS:=
18 export TFMFONTS:=
19 export extra_mem_top=1000000
20 export extra_mem_bottom=1000000
21 export pool_size=500000
22
23
24 ifdef DEB_BUILD
25 export PKFONTS := $(topdir)/mf/out
26 export MT_DESTROOT := $(topdir)/mf/out
27 export DVIPSMAKEPK := mktexpk --destdir $(topdir)/mf/out
28 endif
29
30
31 # guile load path?
32
33 the-script-dir=$(wildcard $(script-dir))
34
35
36 ABC2LY = $(script-dir)/abc2ly.py
37 CONVERT_LY = $(script-dir)/convert-ly.py
38 LILYPOND = $(builddir)/lily/$(outconfbase)/lilypond
39 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
40 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/
41
42 #texi-html for www only:
43 LILYPOND_BOOK_FORMAT=$(if $(subst out-www,,$(notdir $(outdir))),texi,texi-html)
44 LY2DVI = $(script-dir)/lilypond.py
45 LYS_TO_TELY = $(buildscript-dir)/lys-to-tely.py