lilypond-1.3.29
[lilypond.git] / bin / conflily.in
blob2eab5a059eea65eccfad3c44bc7f178c2651ae0f
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 mkdir -p ../build
33 (cd ../build;
34 ln -sf $lelie/build/lily/lilypond bin/lilypond
35 ln -sf $lelie/build/mi2mu/mi2mu bin/mi2mu
36 ../current/configure --prefix=/usr --enable-debugging --enable-printing --enable-checking)