view makeAll.sh @ 243:fbb8bf646bec

Emma is usually know to Havoc as 'Emma from Finland'.
author Jim Hague <jim.hague@laicatc.com>
date Mon, 10 Jun 2013 21:58:40 +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"