]> git.donarmstrong.com Git - lilypond.git/blob - make/lilypond-vars.make
release: 1.5.43
[lilypond.git] / make / lilypond-vars.make
1 ##
2 ## settings to run LilyPond
3
4
5 export PATH:=$(topdir)/lily/out:$(topdir)/buildscripts/out:$(PATH)
6 export TEXMF:={$(topdir),$(shell kpsexpand \$$TEXMF)}
7
8 export extra_mem_top=1000000
9 export extra_mem_bottom=1000000
10 export pool_size=250000
11
12
13 ifdef DEB_BUILD
14 export PKFONTS := $(topdir)/mf/out
15 export MT_DESTROOT := $(topdir)/mf/out
16 export DVIPSMAKEPK := mktexpk --destdir $(topdir)/mf/out
17 endif
18
19 # don't change to "depth". It makes the GUILE barf.
20 #
21 # LilyPond is often run from within $(outdir), making a relative
22 # PREFIX incorrect.
23 export LILYPONDPREFIX:=$(shell cd $(depth)/ ; pwd)
24
25 export PYTHONPATH:=$(topdir)/python:$(PYTHONPATH)
26
27 # guile load path?
28
29 the-script-dir=$(wildcard $(script-dir))
30
31 ifneq ($(the-script-dir),)
32
33 ### some versions apparently choke on $(message)
34 ### $(message running from source tree stepmake)
35
36 ABC2LY = $(script-dir)/abc2ly.py
37 CONVERT_LY = $(script-dir)/convert-ly.py
38 LILYPOND = $(depth)/$(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 $(topdir)/mf/out
41 LY2DVI = $(script-dir)/ly2dvi.py
42 LYS_TO_TELY = $(buildscript-dir)/lys-to-tely.py
43 PS_TO_GIFS = $(buildscript-dir)/ps-to-gifs.sh
44 PS_TO_PNGS = $(buildscript-dir)/ps-to-pngs.sh
45
46 else
47 ### some versions apparently choke on $(message)
48 ### $(message running from installed stepmake)
49
50 ABC2LY = $(shell $(SHELL) -c 'type -p abc2ly')
51 CONVERT_LY = $(shell $(SHELL) -c 'type -p convert-ly')
52 LILYPOND = $(shell $(SHELL) -c 'type -p lilypond')
53 LILYPOND_BOOK = $(shell $(SHELL) -c 'type -p lilypond-book')
54 LILYPOND_BOOK_INCLUDES = -I. -I.. -I$(outdir)
55 LY2DVI = $(shell $(SHELL) -c 'type -p ly2dvi')
56 LYS_TO_TELY = $(shell $(SHELL) -c 'type -p lys-to-tely')
57 PS_TO_GIFS = $(shell $(SHELL) -c 'type -p ps-to-gifs')
58 PS_TO_PNGS = $(shell $(SHELL) -c 'type -p ps-to-pngs')
59
60 endif
61