]> git.donarmstrong.com Git - lilypond.git/blob - HACKING
new file HACKING
[lilypond.git] / HACKING
1 * How to run lilypond from the development tree? 
2
3 If you want to contribute and can build LilyPond yourself, there's no
4 need to install that development version; you can run it from the
5 build tree.
6
7 Use the scripts below to configure and select to use the
8 lilypond from the local build tree like this:
9
10   $ clily && make
11   $ . here-lily
12
13
14 clily:
15 #!/bin/bash
16
17 [ -x configure ] || ./autogen.sh --noconf
18 rm -f config.cache
19 ./configure --prefix=$(pwd) --infodir=$(pwd)/share/info --disable-optimising
20 --enable-gui "$@"
21
22 here-lily:
23 # source me
24
25 export PATH=$(pwd)/lily/out:$(pwd)/scripts/out:$PATH   
26
27 unset LILYPONDPREFIX
28 unset TEXMF
29
30 # ugh: must fool-proof other TeX environment variables
31 TEXINPUTS=:
32 MFINPUTS=:
33 TFMFONTS=:
34
35 datadir=$(pwd)/share/lilypond
36 export TEXMF="{$datadir,"`kpsexpand  \\$TEXMF`"}"
37
38 export
39 GS_FONTPATH="$datadir/fonts/type1:/usr/share/texmf/fonts/type1/bluesky/cm:/usr/share/texmf/fonts/ty
40 pe1/public/ec-fonts-mftraced"
41 export GS_LIB="$datadir/ps:$GS_FONTPATH"
42