build: use landscape and generate previews

This commit is contained in:
Eric Teunis de Boone 2023-02-02 22:34:36 +01:00
parent 9d6c9f22b1
commit b193d41c12

7
build
View file

@ -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 $@