view makeAll.sh @ 263:7b98278d6e8b

Add instrument name into title page for transpositions.
author Jim Hague <jim.hague@acm.org>
date Fri, 21 Jun 2013 20:00:54 +0100
parents 0ef955669a9a
children 06e140f48543
line wrap: on
line source

#!/bin/bash
#
# Build all forms of the Booke.

if [ $# != 1 ]; then
    echo "Usage: makeAll.sh <book dir name>"
    exit 1
fi

makeABooke()
{
    ./makeGraphics.sh "$1"
    ./makeBookeA5.sh "$1"
    ./makeBookeA4.sh "$1"
    ./makeWebGraphics.sh "$1"
    ./makeWebAudio.sh "$1"
    ./makeWeb.sh "$1" "$1" "$2"
}

makeATransposedBooke()
{
    ./makeGraphics.sh "$1"
    ./makeBookeA5.sh "$1"
    ./makeBookeA4.sh "$1"
    ./makeWebGraphics.sh "$1"
    ./makeWeb.sh "$1" "$2" "$3"
}

makeABooke $1

./makeCello.sh $1
makeATransposedBooke $1-Cello $1 cello

./makeHornInF.sh $1
makeATransposedBooke $1-HornInF $1 "horn in F"