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