view makeAll.sh @ 253:1d0cc9a016db

Oops. Missed saving removal of intro text from A4 header.
author Jim Hague <jim.hague@acm.org>
date Sat, 15 Jun 2013 00:20:39 +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"