~ubuntu-branches/ubuntu/precise/lilypond/precise

« back to all changes in this revision

Viewing changes to make/lilypond-vars.make

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Bushnell, BSG
  • Date: 2006-12-19 10:18:12 UTC
  • mfrom: (3.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061219101812-7awtjkp0i393wxty
Tags: 2.8.7-3
scripts/midi2ly.py: When setting DATADIR, find Lilypond python files
in the @TOPLEVEL_VERSION@ directory, not 'current'.  Patch thanks to
Chris Lamb (chris@chris-lamb.co.uk).  (Closes: #400550)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
##
2
2
## settings to run LilyPond
3
 
 
4
 
 
5
 
export PATH:=$(builddir)/lily/$(outconfbase):$(builddir)/buildscripts/$(outconfbase):$(PATH)
6
 
 
7
 
# LilyPond is often run from within $(outdir), making a relative
8
 
# PREFIX incorrect.
9
 
export LILYPONDPREFIX:=$(build_lilypond_datadir)
10
 
 
11
 
export PYTHONPATH:=$(builddir)/python/$(outconfbase):$(PYTHONPATH)
12
 
 
13
 
## arg, TEXINPUTS, TFMFONTS, MFINPUTS may still override and thus break this
14
 
export TEXMF:={$(LILYPONDPREFIX),$(shell kpsexpand \$$TEXMF)}
15
 
 
16
 
export MFINPUTS:=
17
 
export TEXINPUTS:=
18
 
export TFMFONTS:=
19
 
export extra_mem_top=1000000
20
 
export extra_mem_bottom=1000000
21
 
export pool_size=500000
22
 
 
23
 
 
24
 
ifdef DEB_BUILD
25
 
export PKFONTS := $(topdir)/mf/out
26
 
export MT_DESTROOT := $(topdir)/mf/out
27
 
export DVIPSMAKEPK := mktexpk --destdir $(topdir)/mf/out
 
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)
28
17
endif
29
18
 
30
 
 
31
 
# guile load path?
 
19
export PYTHONPATH:=$(top-build-dir)/python/$(outconfbase):$(PYTHONPATH)
32
20
 
33
21
the-script-dir=$(wildcard $(script-dir))
34
22
 
35
 
 
36
23
ABC2LY = $(script-dir)/abc2ly.py
37
24
CONVERT_LY = $(script-dir)/convert-ly.py
38
 
LILYPOND = $(builddir)/lily/$(outconfbase)/lilypond
39
25
LILYPOND_BOOK = $(script-dir)/lilypond-book.py
40
 
LILYPOND_BOOK_INCLUDES = -I $(pwd) -I $(outdir) -I$(input-dir) -I $(input-dir)/tricks/ -I $(input-dir)/regression/ -I $(input-dir)/test/ -I $(input-dir)/tutorial/ -I $(builddir)/mf/$(outconfbase)/  -I $(builddir)/mf/out/
 
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 -ddump-signatures -danti-alias-factor=2 $(LILYPOND_BOOK_LILYPOND_FLAGS)"
 
29
TEXINPUTS=$(top-src-dir)/tex/::
 
30
export TEXINPUTS
41
31
 
42
32
#texi-html for www only:
43
33
LILYPOND_BOOK_FORMAT=$(if $(subst out-www,,$(notdir $(outdir))),texi,texi-html)
44
 
LY2DVI = $(script-dir)/lilypond.py
 
34
LY2DVI = $(LILYPOND_BINARY)
45
35
LYS_TO_TELY = $(buildscript-dir)/lys-to-tely.py
 
36