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