]> git.donarmstrong.com Git - lilypond.git/blob - make/lilypond-vars.make
patch::: 1.3.130.jcn4
[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 $(message running from source tree stepmake)
16
17 ABC2LY = $(script-dir)/abc2ly.py
18 CONVERT_LY = $(script-dir)/convert-ly.py
19 LY2DVI = $(script-dir)/ly2dvi.py
20 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
21 LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/
22 PS_TO_GIFS = $(buildscript-dir)/ps-to-gifs.sh
23 PS_TO_PNGS = $(buildscript-dir)/ps-to-pgns.sh
24
25 else
26
27 $(message running from installed stepmake)
28
29 ABC2LY = $(shell $(SHELL) -c 'type -p abc2ly')
30 LY2DVI = $(shell $(SHELL) -c 'type -p ly2dvi')
31 CONVERT_LY = $(shell $(SHELL) -c 'type -p convert-ly')
32 LILYPOND_BOOK = $(shell $(SHELL) -c 'type -p lilypond-book')
33 LILYPOND_BOOK_INCLUDES = -I. -I.. -I$(outdir)
34 PS_TO_GIFS = $(shell $(SHELL) -c 'type -p ps-to-gifs')
35 PS_TO_PNGS = $(shell $(SHELL) -c 'type -p ps-to-pgns')
36
37 endif
38