scores-tinwhistle/build

22 lines
735 B
Text
Raw Permalink Normal View History

#!/bin/bash
# Wrapper script for the tinwhistle scores
#
# It uses (standard) commandline options of lilypond
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
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
#+ add it to the search path
TINWHISTLE_DIR=$LIB/tinwhistle/
# Options by this script
# 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 $@