lilypond-1.5.9
[lilypond.git] / make / lilypond-vars.make
blob1634bdbcf0388f00a6a45dbfc21df9ee92019374
2 export PATH:=$(topdir)/lily/out:$(topdir)/buildscripts/out:$(PATH)
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:
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
15 export LILYPONDPREFIX:=$(depth)/
16 export PYTHONPATH:=$(buildscript-dir)/$(outdir):$(PYTHONPATH)
18 # guile load path?
20 the-script-dir=$(wildcard $(script-dir))
22 ifneq ($(the-script-dir),)
24 ### some versions apparently choke on $(message)
25 ### $(message running from source tree stepmake)
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
36 else
37 ### some versions apparently choke on $(message)
38 ### $(message running from installed stepmake)
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')
49 endif