]> git.donarmstrong.com Git - lilypond.git/blob - make/lilypond-vars.make
patch::: 1.3.140.jcn5
[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 export LILYPONDPREFIX:=$(depth)/
10 export PYTHONPATH:=$(buildscript-dir)/$(outdir):$(PYTHONPATH)
11
12 # guile load path?
13
14 the-script-dir=$(wildcard $(script-dir))
15
16 ifneq ($(the-script-dir),)
17
18 ### some versions apparently choke on $(message)
19 ### $(message running from source tree stepmake)
20
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 $(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
29
30 else
31 ### some versions apparently choke on $(message)
32 ### $(message running from installed stepmake)
33
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')
42
43 endif
44