]> git.donarmstrong.com Git - lilypond.git/blob - bin/conflily.in
release: 0.1.54
[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 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 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)
37