]> git.donarmstrong.com Git - lilypond.git/blob - bin/conflily.in
release: 0.1.53
[lilypond.git] / bin / conflily.in
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 ln -sf $lelie/current/lily/lilypond bin/lilypond
26 ln -sf $lelie/current/mi2mu/mi2mu bin/mi2mu
27
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:$lelie/current/mutopia:$lelie/current/input:$lelie/current/mutopia/J.S.Bach:"
31         echo "export PATH=$PATH:$lelie/current/bin"
32         echo "export MFINPUTS=$MFINPUTS:$lelie/current/mf"
33 fi
34
35 mkdir -f ../build
36 (cd ../build; 
37 ../current/configure --prefix=/usr --enable-debugging --enable-printing --enable-checking)
38