]> git.donarmstrong.com Git - lilypond.git/blobdiff - HACKING
Fix some bugs in the dynamic engraver and PostScript backend
[lilypond.git] / HACKING
diff --git a/HACKING b/HACKING
index 2db7792cfbc9a8727c9e73b403ac92452798d096..65ee857573439baee9e0c2eb78ba548764699000 100644 (file)
--- a/HACKING
+++ b/HACKING
@@ -5,10 +5,15 @@ need to install that development version; you can run it from the
 build tree.
 
 Use the scripts below to configure and select to use the
-lilypond from the local build tree like this:
+lilypond from the local build tree like this
 
-  $ clily && make
-  $ . here-lily
+    clily && make
+    lily/out/lilypond input/simple.ly
+
+or
+
+    ./configure && make
+    LILYPONDPREFIX=$(pwd)/out out/lily/lilypond input/simple.ly
 
 
 clily:
@@ -16,11 +21,10 @@ clily:
 
 [ -x configure ] || ./autogen.sh --noconf
 rm -f config.cache
-./configure --prefix=$(pwd) --infodir=$(pwd)/share/info --disable-optimising
---enable-gui "$@"
+./configure --prefix=$(pwd)/out --infodir=$(pwd)/share/info --disable-optimising --enable-gui "$@"
 
 here-lily:
-# source me
+# source me - switching to older versions of LilyPond
 
 export PATH=$(pwd)/lily/out:$(pwd)/scripts/out:$PATH   
 
@@ -32,11 +36,15 @@ TEXINPUTS=:
 MFINPUTS=:
 TFMFONTS=:
 
-datadir=$(pwd)/share/lilypond
+. VERSION
+FULL_VERSION=$MAJOR_VERSION.$MINOR_VERSION.$PATCH_LEVEL
+if [ -n "$MY_PATCH_LEVEL" ]; then
+   FULL_VERSION=$FULL_VERSION.$MY_PATCH_LEVEL
+fi
+
+datadir=$(pwd)/share/lilypond/$FULL_VERSION
 export TEXMF="{$datadir,"`kpsexpand  \\$TEXMF`"}"
 
-export
-GS_FONTPATH="$datadir/fonts/type1:/usr/share/texmf/fonts/type1/bluesky/cm:/usr/share/texmf/fonts/ty
-pe1/public/ec-fonts-mftraced"
+export GS_FONTPATH="$datadir/fonts/type1:/usr/share/texmf/fonts/type1/bluesky/cm:/usr/share/texmf/fonts/type1/public/ec-fonts-mftraced"
 export GS_LIB="$datadir/ps:$GS_FONTPATH"