view makeAll.sh @ 235:50dccc8f1ac0

Automated merge with ssh://hg.cryhavoc.org.uk/dottes
author Jim Hague <jim.hague@laicatc.com>
date Sun, 31 Mar 2013 20:51:02 +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"