]> git.donarmstrong.com Git - lilypond.git/blobdiff - buildscripts/set-lily.sh
release: 1.3.0
[lilypond.git] / buildscripts / set-lily.sh
index 6446b9624fc4e22f8312193ef4e07a989c92300a..f809aba7d3ea6aa3f14ad7ca852a6766e508658d 100755 (executable)
@@ -41,9 +41,7 @@ echo
 testvar LILYPONDPREFIX lily $LILYPOND_SOURCEDIR
 testvar MFINPUTS lily .:$MFINPUTS:$LILYPOND_SOURCEDIR/mf
 testvar TEXINPUTS lily .:$TEXINPUTS:$LILYPOND_SOURCEDIR/ps:$LILYPOND_SOURCEDIR/tex
-testvar GS_LIB lily $HOME/usr/src/lilypond/ps
 testvar GS_FONTPATH lily $HOME/usr/src/lilypond/mf/out
-testvar GUILE_LOAD_PATH lily $HOME/usr/src/lilypond/init
 testvar MAILADDRESS "@" $USER@`hostname`
 echo
 
@@ -61,9 +59,29 @@ testmkdir $prefix/share
 rm -rf $prefix/share/lilypond
 showln -sf $sources/lilypond $prefix/share/lilypond
 
-if [ -f ../.gdbinit ];
+
+BUILDDIR=`pwd`
+LOCALES="de it nl"
+for i in $LOCALES; do
+       dir=$BUILDDIR/share/locale/$i/LC_MESSAGES
+       if test ! -x $dir ; then
+               mkdir -p $dir
+       fi
+       rm -f $dir/lilypond.mo 
+       showln -sf $BUILDDIR/po/out/$i.mo $dir/lilypond.mo
+done
+rm -f afm; showln -sf $BUILDDIR/mf/out afm
+rm -f tfm; showln -sf $BUILDDIR/mf/out tfm
+if test "x$TEX_TFMDIR" = "x" ; then
+       CMR10=`kpsewhich tfm cmr10.tfm`
+       TEX_TFMDIR=`dirname $CMR10`
+fi
+rm -f cmtfm; showln -sf $TEX_TFMDIR $BUILDDIR/cmtfm
+
+
+if [ -f ../.gdbinit.lilypond ];
 then
-    showln -f ../.gdbinit .
+    showln -f ../.gdbinit.lilypond .gdbinit
 fi
 
 if [ -f ../.dstreamrc ]
@@ -74,5 +92,5 @@ echo
 
 echo Starting configuration
 echo
-(set -x; TEX_TFMDIR=$TEX_TFMDIR ./configure --prefix=$prefix --enable-debugging --enable-printing --enable-checking --disable-optimise --enable-guile)
+(set -x; TEX_TFMDIR=$TEX_TFMDIR ./configure --prefix=$prefix --enable-debugging --enable-printing --enable-checking --disable-optimise)