view makeAll.sh @ 252:4fb2e5728879

Put book intro text into its own file. Stop duplicating it between A4 and A5 headers.
author Jim Hague <jim.hague@acm.org>
date Sat, 15 Jun 2013 00:11:23 +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"