]> git.donarmstrong.com Git - lilypond.git/blob - make/lilypond-vars.make
patch::: 1.4.2.jcn1
[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 PS_TO_GIFS = $(buildscript-dir)/ps-to-gifs.sh
34 PS_TO_PNGS = $(buildscript-dir)/ps-to-pngs.sh
35
36 else
37 ### some versions apparently choke on $(message)
38 ### $(message running from installed stepmake)
39
40 ABC2LY = $(shell $(SHELL) -c 'type -p abc2ly')
41 CONVERT_LY = $(shell $(SHELL) -c 'type -p convert-ly')
42 LILYPOND = $(shell $(SHELL) -c 'type -p lilypond')
43 LILYPOND_BOOK = $(shell $(SHELL) -c 'type -p lilypond-book')
44 LILYPOND_BOOK_INCLUDES = -I. -I.. -I$(outdir)
45 LY2DVI = $(shell $(SHELL) -c 'type -p ly2dvi')
46 PS_TO_GIFS = $(shell $(SHELL) -c 'type -p ps-to-gifs')
47 PS_TO_PNGS = $(shell $(SHELL) -c 'type -p ps-to-pngs')
48
49 endif
50