Automated merge with ssh://hg.cryhavoc.org.uk/dottes

This commit is contained in:
Jim Hague 2019-03-27 10:48:23 +00:00
commit 06e3086662
2 changed files with 41 additions and 7 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 MiB

After

Width:  |  Height:  |  Size: 539 KiB

View File

@ -69,20 +69,55 @@ makeASingleBooke()
makeABumperBooke()
{
# This can only be used once all the other Bookes have been built.
./makeBookeTunePages.sh "$1"
for booke in "$@"
do
./makeBookeTunePages.sh "${booke}"
done
./makeBooke.sh A4 "$@"
./makeBookeTunePages.sh --use-compact "$1"
for booke in "$@"
do
./makeBookeTunePages.sh --use-compact "${booke}"
done
./makeBooke.sh A5 "$@"
./makeBooklet.sh "Bumper"
}
makeBumperBookes()
{
makeABumperBooke $1
makeABumperBooke "$@"
for f in Bumper*.pdf
do
mv $f ./web
done
#makeABumperBooke $1-Cello
#makeABumperBooke $1-HornInF
#makeABumperBooke $1-AltoRecorderCFingering
local cellobumper
local hornbumber
local recorderbumper
for booke in "$@"
do
cellobumper+=("${booke}-Cello")
hornbumper+=("${booke}-HornInF")
recorderbumper+=("${booke}-AltoRecorderCFingering")
done
makeABumperBooke "${cellobumper[@]}"
for f in Bumper*.pdf
do
t=$(echo $f | sed -e "s/.pdf/-Cello.pdf/")
mv $f ./web/$t
done
makeABumperBooke "${hornbumper[@]}"
for f in Bumper*.pdf
do
t=$(echo $f | sed -e "s/.pdf/-HornInF.pdf/")
mv $f ./web/$t
done
makeABumperBooke "${recorderbumper[@]}"
for f in Bumper*.pdf
do
t=$(echo $f | sed -e "s/.pdf/-AltoRecorderCFingering.pdf/")
mv $f ./web/$t
done
}
declare buildBookes
@ -104,5 +139,4 @@ do
done
if [[ ${#bumperBookes[@]} -gt 1 ]]; then
makeBumperBookes "${bumperBookes[@]}"
cp Bumper*.pdf ./web
fi