2013-01-26 13:47:01 +00:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# Build all forms of the Booke.
|
|
|
|
|
2016-11-04 22:41:57 +00:00
|
|
|
if [ $# -lt 1 ]; then
|
|
|
|
echo "Usage: makeAll.sh <booke dir name> [<booke dir name> ...]"
|
2013-01-26 13:47:01 +00:00
|
|
|
exit 1
|
|
|
|
fi
|
|
|
|
|
|
|
|
makeABooke()
|
|
|
|
{
|
2013-02-20 13:45:58 +00:00
|
|
|
./makeGraphics.sh "$1"
|
2013-06-26 23:37:45 +01:00
|
|
|
./makeBookeTunePages.sh "$1"
|
2016-11-04 17:59:10 +00:00
|
|
|
./makeBooke.sh A4 "$1"
|
|
|
|
./makeBooke.sh A4 "$1"
|
2013-06-26 23:37:45 +01:00
|
|
|
./makeBooklet.sh "$1"
|
2016-11-04 17:59:10 +00:00
|
|
|
./makeBooke.sh Nook "$1"
|
2013-02-22 01:09:37 +00:00
|
|
|
./makeWebGraphics.sh "$1"
|
|
|
|
./makeWebAudio.sh "$1"
|
|
|
|
./makeWeb.sh "$1" "$1" "$2"
|
|
|
|
}
|
|
|
|
|
|
|
|
makeATransposedBooke()
|
|
|
|
{
|
|
|
|
./makeGraphics.sh "$1"
|
2013-06-26 23:37:45 +01:00
|
|
|
./makeBookeTunePages.sh "$1"
|
2016-11-04 17:59:10 +00:00
|
|
|
./makeBooke.sh A4 "$1"
|
|
|
|
./makeBooke.sh A5 "$1"
|
2013-06-26 23:37:45 +01:00
|
|
|
./makeBooklet.sh "$1"
|
2016-11-04 17:59:10 +00:00
|
|
|
./makeBooke.sh Nook "$1"
|
2013-02-22 01:09:37 +00:00
|
|
|
./makeWebGraphics.sh "$1"
|
|
|
|
./makeWeb.sh "$1" "$2" "$3"
|
2013-01-26 13:47:01 +00:00
|
|
|
}
|
|
|
|
|
2016-11-04 22:41:57 +00:00
|
|
|
makeASingleBooke()
|
|
|
|
{
|
|
|
|
makeABooke $1
|
|
|
|
|
|
|
|
./makeCello.sh $1
|
|
|
|
makeATransposedBooke $1-Cello $1 cello
|
2013-02-17 00:27:07 +00:00
|
|
|
|
2016-11-04 22:41:57 +00:00
|
|
|
./makeHornInF.sh $1
|
|
|
|
makeATransposedBooke $1-HornInF $1 "horn in F"
|
|
|
|
}
|
2013-02-20 13:03:40 +00:00
|
|
|
|
2016-11-04 22:41:57 +00:00
|
|
|
makeBumperBooke()
|
|
|
|
{
|
|
|
|
# This can only be used once all the other Bookes have been built.
|
|
|
|
./makeBooke.sh A4 "$@"
|
|
|
|
./makeBooke.sh A5 "$@"
|
|
|
|
./makeBooklet.sh "Bumper"
|
|
|
|
}
|
|
|
|
|
|
|
|
for booke in "$@"
|
|
|
|
do
|
|
|
|
makeASingleBooke $booke
|
|
|
|
done
|
|
|
|
if [ $# -gt 1 ]; then
|
|
|
|
makeBumperBooke "$@"
|
|
|
|
fi
|