diff --git a/build b/build index f5aaf4a..bb8e0ba 100755 --- a/build +++ b/build @@ -4,7 +4,9 @@ # It uses (standard) commandline options of lilypond DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -LIB=$DIR/../lib +LIB="$(realpath "${DIR}/../lib")" + +# Change the Stylesheet variable if you want different 'settings' STYLESHEET=$LIB/styles/tinwhistle.sly # In case tinwhistle.ily is included in file @@ -12,7 +14,8 @@ STYLESHEET=$LIB/styles/tinwhistle.sly TINWHISTLE_DIR=$LIB/tinwhistle/ # Options by this script -OPTIONS="-dno-strip-output-dir -dno-point-and-click" +# see http://lilypond.org/doc/v2.18/Documentation/usage/command_002dline-usage#advanced-command-line-options-for-lilypond +OPTIONS="-dno-strip-output-dir -dno-point-and-click -dpaper-size=\"a4landscape\" -dpreview" # Execute lilypond -dinclude-settings=$STYLESHEET -I $TINWHISTLE_DIR $OPTIONS $@