tremolo fixes
[lilypond.git] / make / lilypond-vars.make
blobd4af8034254559c685b889b2efeb9a263f7f0edd
1 ##
2 ## settings to run LilyPond
5 export PATH:=$(topdir)/lily/out:$(topdir)/buildscripts/out:$(PATH)
6 export TEXMF:={$(topdir),$(shell kpsexpand \$$TEXMF)}
8 export extra_mem_top=1000000
9 export extra_mem_bottom=1000000
10 export pool_size=250000
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
19 # don't change to "depth". It makes the GUILE barf.
21 # LilyPond is often run from within $(outdir), making a relative
22 # PREFIX incorrect.
23 export LILYPONDPREFIX:=$(shell cd $(depth)/ ; pwd)
25 export PYTHONPATH:=$(topdir)/python:$(PYTHONPATH)
27 # guile load path?
29 the-script-dir=$(wildcard $(script-dir))
31 ifneq ($(the-script-dir),)
33 ### some versions apparently choke on $(message)
34 ### $(message running from source tree stepmake)
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 -I $(topdir)/mf/$(outdir)/
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
46 else
47 ### some versions apparently choke on $(message)
48 ### $(message running from installed stepmake)
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')
60 endif