lilypond-1.3.74
[lilypond.git] / bin / conflily.sh
blob0f4fda05d8439e50b5ef038815efcde40de88f71
1 #!/bin/sh
2 # conflily --- configure LilyPond sourcetree
4 # You should set LILYPOND_SOURCEDIR to the latest uppacked source dir,
5 # it will default to:
7 export LILYPOND_SOURCEDIR=$HOME/lelie/current
9 # and create links to here, if necessary
11 if [ ! -e $HOME/lelie ]; then
12 (cd ..; ln -s `pwd` $HOME/lelie)
16 current=`basename \`pwd\``
17 # (cd ..; rm -f current)
18 (cd ..; rm -f current 2>&1 > /dev/null)
19 (cd ..; ln -s $current current)
21 # The LilyPond root dir looks like this:
23 # current -> ./lilypond-x.x.x symlink to current source
24 # lilypond-x.x.x/ the unpacked LilyPond source
25 # patches/ gzipped patches
26 # releases/ tar gzipped releases
27 # test/ latest output of 'release'
30 if [ "x$LILYINCLUDE" = "x" ]; then
31 # we can try...
32 echo you should add the following to your login script
33 if [ "x$MAILADDRESS" = "x" ]; then
34 export MAILADDRESS=$USER@`hostname`
35 echo " export MAILADDRESS=\$USER@`hostname`"
37 export LILYINCLUDE=$LILYPOND_SOURCEDIR/init:$LILYPOND_SOURCEDIR/mf/out
38 export PATH=$PATH$LILYPOND_SOURCEDIR/bin:
39 export MFINPUTS=$MFINPUTS:$LILYPOND_SOURCEDIR/mf
40 export TEXINPUTS=$TEXINPUTS:$LILYPOND_SOURCEDIR/mf/out
41 cat <<EOF
42 export LILYINCLUDE=\$LILYPOND_SOURCEDIR/init:\$LILYPOND_SOURCEDIR/mf/out
43 export PATH=\$PATH:$LILYPOND_SOURCEDIR/bin
44 export MFINPUTS=\$MFINPUTS:\$LILYPOND_SOURCEDIR/mf
45 export TEXINPUTS=\$TEXINPUTS:\$LILYPOND_SOURCEDIR/mf/out
46 EOF
49 ln -sf $LILYPOND_SOURCEDIR/lily/out/lilypond bin/out/lilypond
50 ln -sf $LILPPOND_SOURCEDIR/out/mi2mu bin/out/mi2mu
52 configure --prefix=/usr --enable-debugging --enable-printing --enable-checking --disable-optimise