Mercurial > dottes
view makeAll.sh @ 266:06e140f48543
Revise scripts for building printed Bookes.
A lot of stuff was being duplicated between different page size. Consolidate where
possible, and in particular put as much into a single source file (dottes.tex) as
possible. Making a single Booke is now potentially quicker, as the tune pages
don't necessarily have to be regenerate every time.
author | Jim Hague <jim.hague@acm.org> |
---|---|
date | Wed, 26 Jun 2013 23:37:45 +0100 |
parents | 0ef955669a9a |
children | 583c06d0e9ef |
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" ./makeBookeTunePages.sh "$1" ./makeBooke.sh "$1" A4 ./makeBooke.sh "$1" A5 ./makeBooklet.sh "$1" ./makeWebGraphics.sh "$1" ./makeWebAudio.sh "$1" ./makeWeb.sh "$1" "$1" "$2" } makeATransposedBooke() { ./makeGraphics.sh "$1" ./makeBookeTunePages.sh "$1" ./makeBooke.sh "$1" A4 ./makeBooke.sh "$1" A5 ./makeBooklet.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"