* flower/include/std-vector.hh (insert): Remove, replace by
[lilypond/patrick.git] / HACKING
blob65ee857573439baee9e0c2eb78ba548764699000
1 * How to run lilypond from the development tree? 
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.
7 Use the scripts below to configure and select to use the
8 lilypond from the local build tree like this
10     clily && make
11     lily/out/lilypond input/simple.ly
15     ./configure && make
16     LILYPONDPREFIX=$(pwd)/out out/lily/lilypond input/simple.ly
19 clily:
20 #!/bin/bash
22 [ -x configure ] || ./autogen.sh --noconf
23 rm -f config.cache
24 ./configure --prefix=$(pwd)/out --infodir=$(pwd)/share/info --disable-optimising --enable-gui "$@"
26 here-lily:
27 # source me - switching to older versions of LilyPond
29 export PATH=$(pwd)/lily/out:$(pwd)/scripts/out:$PATH   
31 unset LILYPONDPREFIX
32 unset TEXMF
34 # ugh: must fool-proof other TeX environment variables
35 TEXINPUTS=:
36 MFINPUTS=:
37 TFMFONTS=:
39 . VERSION
40 FULL_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_LEVEL
41 if [ -n "$MY_PATCH_LEVEL" ]; then
42    FULL_VERSION=$FULL_VERSION.$MY_PATCH_LEVEL
45 datadir=$(pwd)/share/lilypond/$FULL_VERSION
46 export TEXMF="{$datadir,"`kpsexpand  \\$TEXMF`"}"
48 export GS_FONTPATH="$datadir/fonts/type1:/usr/share/texmf/fonts/type1/bluesky/cm:/usr/share/texmf/fonts/type1/public/ec-fonts-mftraced"
49 export GS_LIB="$datadir/ps:$GS_FONTPATH"