]> git.donarmstrong.com Git - lilypond.git/blob - make/lilypond-vars.make
release: 1.5.8
[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
7 export MFINPUTS:=$(topdir)/mf/:$(MFINPUTS)::
8 export TEXINPUTS:=$(topdir)/mf/out/:$(topdir)/tex/:$(topdir)/ps/:$(TEXINPUTS):$(pwd)::
9 export LILYINCLUDE:=$(topdir)/ps:$(topdir)/scm:$(topdir)/ly:$(topdir)/mf/out::$(TEX_TFMDIR):$(LILYINCLUDE)
10 export TFMFONTS:=$(topdir)/mf/out:
11
12 ifdef DEB_BUILD
13 export PKFONTS := $(topdir)/mf/out
14 export MT_DESTROOT := $(topdir)/mf/out
15 export DVIPSMAKEPK := mktexpk --destdir $(topdir)/mf/out
16 endif
17
18 export LILYPONDPREFIX:=$(depth)/
19 export PYTHONPATH:=$(buildscript-dir)/$(outdir):$(PYTHONPATH)
20
21 # guile load path?
22
23 the-script-dir=$(wildcard $(script-dir))
24
25 ifneq ($(the-script-dir),)
26
27 ### some versions apparently choke on $(message)
28 ### $(message running from source tree stepmake)
29
30 ABC2LY = $(script-dir)/abc2ly.py
31 CONVERT_LY = $(script-dir)/convert-ly.py
32 LILYPOND = $(depth)/$(builddir)/lily/$(outconfbase)/lilypond
33 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
34 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/
35 LY2DVI = $(script-dir)/ly2dvi.py
36 LYS_TO_TELY = $(buildscript-dir)/lys-to-tely.py
37 PS_TO_GIFS = $(buildscript-dir)/ps-to-gifs.sh
38 PS_TO_PNGS = $(buildscript-dir)/ps-to-pngs.sh
39
40 else
41 ### some versions apparently choke on $(message)
42 ### $(message running from installed stepmake)
43
44 ABC2LY = $(shell $(SHELL) -c 'type -p abc2ly')
45 CONVERT_LY = $(shell $(SHELL) -c 'type -p convert-ly')
46 LILYPOND = $(shell $(SHELL) -c 'type -p lilypond')
47 LILYPOND_BOOK = $(shell $(SHELL) -c 'type -p lilypond-book')
48 LILYPOND_BOOK_INCLUDES = -I. -I.. -I$(outdir)
49 LY2DVI = $(shell $(SHELL) -c 'type -p ly2dvi')
50 LYS_TO_TELY = $(shell $(SHELL) -c 'type -p lys-to-tely')
51 PS_TO_GIFS = $(shell $(SHELL) -c 'type -p ps-to-gifs')
52 PS_TO_PNGS = $(shell $(SHELL) -c 'type -p ps-to-pngs')
53
54 endif
55