lilypond-0.1.17
[lilypond.git] / bin / conflily.sh
blobde2ce672f9b64cfded4a0ccde6a6b1b080387b29
1 #!/bin/sh
2 # conflily
3 # ugh: must be executed from lilypond-x.x.x (bin/conflily)
5 # the lilypond root dir looks like this:
6 # current -> ./lilypond-x.x.x symlink to current source
7 # lilypond-x.x.x the lilypond source
8 # patches gzipped patches
9 # releases gzipped releases
11 # the lily root dir
13 lelie=$HOME/music/lily
16 if [ ! -e $HOME/lelie ]; then
17 ln -s $lelie $HOME/lelie
20 rm $lelie/current 2>&1 > /dev/null
21 current=`basename \`pwd\``
22 echo ln -s $lelie/$current $lelie/current
23 ln -s $lelie/$current $lelie/current
25 ln -sf $lelie/current/lily/out/lilypond bin/out/lilypond
26 ln -sf $lelie/current/mi2mu/out/mi2mu bin/out/mi2mu
28 if [ "x$LILYINCLUDE" = "x" ]; then
29 echo you should make add the following to your login script
30 echo "export LILYINCLUDE=$lelie/current/init"
31 echo "export PATH=$PATH:$lelie/current/bin/out/"
32 echo "export MFINPUTS=$MFINPUTS:$lelie/current/mf"
35 configure --prefix=/usr --enable-debugging --enable-printing --enable-checking