lilypond-0.1.58
[lilypond.git] / bin / conflily.sh
blobdff069ab340af13c7ee6fe47ac5c6ff59eca1c71
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 if [ "x$LILYINCLUDE" = "x" ]; then
26 echo you should make add the following to your login script
27 echo "export LILYINCLUDE=$lelie/current/init:$lelie/current/mutopia:$lelie/current/input:$lelie/current/mutopia/J.S.Bach:"
28 echo "export PATH=$PATH:$lelie/current/bin"
29 echo "export MFINPUTS=$MFINPUTS:$lelie/current/mf"
32 ln -sf $lelie/current/lily/out/lilypond bin/lilypond
33 ln -sf $lelie/current/mi2mu/out/mi2mu bin/mi2mu
34 configure --prefix=/usr --enable-debugging --enable-printing --enable-checking