]> git.donarmstrong.com Git - lilypond.git/blob - bin/conflily.sh
56793f1e278f931a9a13234bcea9bb8eb6ba433b
[lilypond.git] / bin / conflily.sh
1 #!/bin/sh
2 # conflily
3 # ugh: must be executed from lilypond-x.x.x (bin/conflily)
4
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
10
11 # the lily root dir
12 #
13 lelie=$HOME/music/lily
14 #
15
16 if [ ! -e $HOME/lelie ]; then
17         ln -s $lelie $HOME/lelie
18 fi
19
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
24
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"
30 fi
31
32 ln -sf $lelie/current/lily/out/lilypond bin/lilypond
33 ln -sf $lelie/current/mi2mu/out/mi2mu bin/mi2mu
34
35 configure --prefix=/usr --enable-debugging --enable-printing --enable-checking