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