]> git.donarmstrong.com Git - lilypond.git/blob - make/lilypond-vars.make
(datadir): remove LILYPONDPREFIX support.
[lilypond.git] / make / lilypond-vars.make
1 ##
2 ## settings to run LilyPond
3 ifeq ($(LILYPOND_EXTERNAL_BINARY),)
4
5 # environment settings.
6 export PATH:=$(top-build-dir)/lily/$(outconfbase):$(top-build-dir)/buildscripts/$(outconfbase):$(top-build-dir)/scripts/$(outconfbase):$(PATH):
7 export LILYPOND_BINARY=$(top-build-dir)/$(outconfbase)/bin/lilypond
8 else
9
10 ## better not take the binaries  from a precompiled bundle, as they
11 ## rely on env vars for relocation.
12 ##
13
14 #export PATH:=$(dir $(LILYPOND_EXTERNAL_BINARY)):$(PATH)
15 export LILYPOND_BINARY=$(LILYPOND_EXTERNAL_BINARY)
16 endif
17
18 export PYTHONPATH:=$(top-build-dir)/python/$(outconfbase):$(PYTHONPATH)
19
20 the-script-dir=$(wildcard $(script-dir))
21
22 ABC2LY = $(script-dir)/abc2ly.py
23 CONVERT_LY = $(script-dir)/convert-ly.py
24 LILYPOND_BOOK = $(script-dir)/lilypond-book.py
25 LILYPOND_BOOK_INCLUDES = -I $(src-dir)/ -I $(outdir) -I $(input-dir) -I $(input-dir)/regression/ -I $(input-dir)/manual/ -I $(input-dir)/tutorial/ -I $(top-build-dir)/mf/$(outconfbase)/  -I $(top-build-dir)/mf/out/
26 LILYPOND_BOOK_LILYPOND_FLAGS=-dgs-font-load
27 LILYPOND_BOOK_FLAGS = --process="$(LILYPOND_BINARY) --backend=eps --formats=ps,png,pdf -deps-font-include -dgs-font-load --header=texidoc -I $(top-src-dir)/input/manual -dinternal-type-checking -ddump-signatures -danti-alias-factor=2 $(LILYPOND_BOOK_LILYPOND_FLAGS)"
28 TEXINPUTS=$(top-src-dir)/tex/::
29 export TEXINPUTS
30
31 #texi-html for www only:
32 LILYPOND_BOOK_FORMAT=$(if $(subst out-www,,$(notdir $(outdir))),texi,texi-html)
33 LY2DVI = $(LILYPOND_BINARY)
34 LYS_TO_TELY = $(buildscript-dir)/lys-to-tely.py
35