lilypond-1.4.1
[lilypond.git] / make / lilypond-vars.make
blob2135a39c835212e8cd2a9d6c413d67f225c3d5d0
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 export LILYPONDPREFIX:=$(depth)/
10 export PYTHONPATH:=$(buildscript-dir)/$(outdir):$(PYTHONPATH)
12 # guile load path?
14 the-script-dir=$(wildcard $(script-dir))
16 ifneq ($(the-script-dir),)
18 ### some versions apparently choke on $(message)
19 ### $(message running from source tree stepmake)
21 ABC2LY = $(script-dir)/abc2ly.py
22 CONVERT_LY = $(script-dir)/convert-ly.py
23 LILYPOND = $(depth)/$(builddir)/lily/$(outconfbase)/lilypond
24 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
25 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/
26 LY2DVI = $(script-dir)/ly2dvi.py
27 PS_TO_GIFS = $(buildscript-dir)/ps-to-gifs.sh
28 PS_TO_PNGS = $(buildscript-dir)/ps-to-pngs.sh
30 else
31 ### some versions apparently choke on $(message)
32 ### $(message running from installed stepmake)
34 ABC2LY = $(shell $(SHELL) -c 'type -p abc2ly')
35 CONVERT_LY = $(shell $(SHELL) -c 'type -p convert-ly')
36 LILYPOND = $(shell $(SHELL) -c 'type -p lilypond')
37 LILYPOND_BOOK = $(shell $(SHELL) -c 'type -p lilypond-book')
38 LILYPOND_BOOK_INCLUDES = -I. -I.. -I$(outdir)
39 LY2DVI = $(shell $(SHELL) -c 'type -p ly2dvi')
40 PS_TO_GIFS = $(shell $(SHELL) -c 'type -p ps-to-gifs')
41 PS_TO_PNGS = $(shell $(SHELL) -c 'type -p ps-to-pngs')
43 endif