]> git.donarmstrong.com Git - lilypond.git/blob - make/lilypond-vars.make
patch::: 1.3.137.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 export LILYPONDPREFIX:=$(depth)/
10
11
12 the-script-dir=$(wildcard $(script-dir))
13
14 ifneq ($(the-script-dir),)
15
16 ### some versions apparently choke on $(message)
17 ### $(message running from source tree stepmake)
18
19 ABC2LY = $(script-dir)/abc2ly.py
20 CONVERT_LY = $(script-dir)/convert-ly.py
21 LY2DVI = $(script-dir)/ly2dvi.py
22 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
23 LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ -I $(input-dir)/tutorial/
24 PS_TO_GIFS = $(buildscript-dir)/ps-to-gifs.sh
25 PS_TO_PNGS = $(buildscript-dir)/ps-to-pngs.sh
26
27 else
28 ### some versions apparently choke on $(message)
29 ### $(message running from installed stepmake)
30
31 ABC2LY = $(shell $(SHELL) -c 'type -p abc2ly')
32 LY2DVI = $(shell $(SHELL) -c 'type -p ly2dvi')
33 CONVERT_LY = $(shell $(SHELL) -c 'type -p convert-ly')
34 LILYPOND_BOOK = $(shell $(SHELL) -c 'type -p lilypond-book')
35 LILYPOND_BOOK_INCLUDES = -I. -I.. -I$(outdir)
36 PS_TO_GIFS = $(shell $(SHELL) -c 'type -p ps-to-gifs')
37 PS_TO_PNGS = $(shell $(SHELL) -c 'type -p ps-to-pngs')
38
39 endif
40