annotate makeAll.sh @ 1052:9bce84b2314e build-default-380

Use same end bar ending as used elsewhere in the Booke.
author Jim Hague <jim.hague@acm.org>
date Tue, 30 Jun 2020 20:25:32 +0100
parents ce13e23259b1
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
181
6a0bdabfb255 Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
1 #!/bin/bash
6a0bdabfb255 Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
2 #
6a0bdabfb255 Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
3 # Build all forms of the Booke.
762
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
4 #
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
5 # Arguments are the names of the bookes to build. If a name is
921
7d651994b776 Remove surplus space.
Jim Hague <jim.hague@acm.org>
parents: 881
diff changeset
6 # prefixed '-', then do not include that section in the Bumper Booke.
181
6a0bdabfb255 Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
7
762
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
8 if [[ $# -lt 1 ]]; then
606
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
9 echo "Usage: makeAll.sh <booke dir name> [<booke dir name> ...]"
181
6a0bdabfb255 Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
10 exit 1
6a0bdabfb255 Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
11 fi
6a0bdabfb255 Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
12
876
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
13 # Make the print version of a booke.
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
14 # Params: <booke dir>
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
15 makeBookePrint()
181
6a0bdabfb255 Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
16 {
748
ce5c7214f9aa Introduce mechanism for having different tune images for compact printed output.
Jim Hague <jim.hague@acm.org>
parents: 671
diff changeset
17 # Print graphics.
217
a8a46fd79d5c Fix up problems in Horn in F transposition.
Jim Hague <jim.hague@laicatc.com>
parents: 216
diff changeset
18 ./makeGraphics.sh "$1"
748
ce5c7214f9aa Introduce mechanism for having different tune images for compact printed output.
Jim Hague <jim.hague@acm.org>
parents: 671
diff changeset
19
ce5c7214f9aa Introduce mechanism for having different tune images for compact printed output.
Jim Hague <jim.hague@acm.org>
parents: 671
diff changeset
20 # Normal graphics printed output.
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents: 223
diff changeset
21 ./makeBookeTunePages.sh "$1"
603
ef0d66742e01 Revise build to allow multi-section books.
Jim Hague <jim.hague@acm.org>
parents: 331
diff changeset
22 ./makeBooke.sh A4 "$1"
992
2d88532ccb2f Update Lulu option to A4NoCover.
Jim Hague <jim.hague@acm.org>
parents: 948
diff changeset
23 ./makeBooke.sh A4NoCover "$1"
748
ce5c7214f9aa Introduce mechanism for having different tune images for compact printed output.
Jim Hague <jim.hague@acm.org>
parents: 671
diff changeset
24 ./makeBooke.sh Nook "$1"
ce5c7214f9aa Introduce mechanism for having different tune images for compact printed output.
Jim Hague <jim.hague@acm.org>
parents: 671
diff changeset
25
ce5c7214f9aa Introduce mechanism for having different tune images for compact printed output.
Jim Hague <jim.hague@acm.org>
parents: 671
diff changeset
26 # Compact graphics printed output.
ce5c7214f9aa Introduce mechanism for having different tune images for compact printed output.
Jim Hague <jim.hague@acm.org>
parents: 671
diff changeset
27 ./makeBookeTunePages.sh --use-compact "$1"
609
ac7d039116c4 Correct typo in makeAll.sh.
Jim Hague <jim.hague@acm.org>
parents: 606
diff changeset
28 ./makeBooke.sh A5 "$1"
266
06e140f48543 Revise scripts for building printed Bookes.
Jim Hague <jim.hague@acm.org>
parents: 223
diff changeset
29 ./makeBooklet.sh "$1"
995
c612450d5dc1 Add A5NoCover book format.
Jim Hague <jim.hague@acm.org>
parents: 992
diff changeset
30 ./makeBooke.sh A5NoCover "$1"
876
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
31 }
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
32
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
33 # Make a single booke.
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
34 # Params: <booke dir> [<instrument name>]
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
35 makeABooke()
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
36 {
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
37 makeBookePrint "$1"
748
ce5c7214f9aa Introduce mechanism for having different tune images for compact printed output.
Jim Hague <jim.hague@acm.org>
parents: 671
diff changeset
38
ce5c7214f9aa Introduce mechanism for having different tune images for compact printed output.
Jim Hague <jim.hague@acm.org>
parents: 671
diff changeset
39 # Web output.
223
0ef955669a9a Make transposed tunes use the original audio.
Jim Hague <jim.hague@acm.org>
parents: 217
diff changeset
40 ./makeWebGraphics.sh "$1"
0ef955669a9a Make transposed tunes use the original audio.
Jim Hague <jim.hague@acm.org>
parents: 217
diff changeset
41 ./makeWebAudio.sh "$1"
0ef955669a9a Make transposed tunes use the original audio.
Jim Hague <jim.hague@acm.org>
parents: 217
diff changeset
42 ./makeWeb.sh "$1" "$1" "$2"
0ef955669a9a Make transposed tunes use the original audio.
Jim Hague <jim.hague@acm.org>
parents: 217
diff changeset
43 }
0ef955669a9a Make transposed tunes use the original audio.
Jim Hague <jim.hague@acm.org>
parents: 217
diff changeset
44
876
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
45 # Make a single transposed booke. We use web audio from the
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
46 # master booke.
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
47 # Params: <booke dir> <master booke dir> [<instrument name>]
223
0ef955669a9a Make transposed tunes use the original audio.
Jim Hague <jim.hague@acm.org>
parents: 217
diff changeset
48 makeATransposedBooke()
0ef955669a9a Make transposed tunes use the original audio.
Jim Hague <jim.hague@acm.org>
parents: 217
diff changeset
49 {
876
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
50 makeBookePrint "$1"
748
ce5c7214f9aa Introduce mechanism for having different tune images for compact printed output.
Jim Hague <jim.hague@acm.org>
parents: 671
diff changeset
51
ce5c7214f9aa Introduce mechanism for having different tune images for compact printed output.
Jim Hague <jim.hague@acm.org>
parents: 671
diff changeset
52 # Web output. Uses audio from main booke.
948
d5aa4847b966 Oops. Don't give makeWebGraphics.sh a second parameter.
Jim Hague <jim.hague@acm.org>
parents: 943
diff changeset
53 ./makeWebGraphics.sh "$1"
223
0ef955669a9a Make transposed tunes use the original audio.
Jim Hague <jim.hague@acm.org>
parents: 217
diff changeset
54 ./makeWeb.sh "$1" "$2" "$3"
181
6a0bdabfb255 Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
55 }
6a0bdabfb255 Add a A4 portrait book with multiple tunes per page.
Jim Hague <jim.hague@acm.org>
parents:
diff changeset
56
606
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
57 makeASingleBooke()
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
58 {
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
59 makeABooke $1
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
60
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
61 ./makeCello.sh $1
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
62 makeATransposedBooke $1-Cello $1 cello
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
63
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
64 ./makeHornInF.sh $1
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
65 makeATransposedBooke $1-HornInF $1 "horn in F"
671
2f6e05d0aba0 Add experimental Alto Recorder (C Fingering) instrument.
Jim Hague <jim.hague@acm.org>
parents: 616
diff changeset
66
2f6e05d0aba0 Add experimental Alto Recorder (C Fingering) instrument.
Jim Hague <jim.hague@acm.org>
parents: 616
diff changeset
67 ./makeAltoRecorderCFingering.sh $1
2f6e05d0aba0 Add experimental Alto Recorder (C Fingering) instrument.
Jim Hague <jim.hague@acm.org>
parents: 616
diff changeset
68 makeATransposedBooke $1-AltoRecorderCFingering $1 "alto recorder, C fingering"
1019
ce13e23259b1 Add Alto Sax transposition.
Jim Hague <jim.hague@acm.org>
parents: 995
diff changeset
69
ce13e23259b1 Add Alto Sax transposition.
Jim Hague <jim.hague@acm.org>
parents: 995
diff changeset
70 ./makeAltoSax.sh $1
ce13e23259b1 Add Alto Sax transposition.
Jim Hague <jim.hague@acm.org>
parents: 995
diff changeset
71 makeATransposedBooke $1-AltoSax $1 "alto saxophone"
606
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
72 }
197
8f352063f277 Finish first version of newly tarted up website.
Jim Hague <jim.hague@acm.org>
parents: 182
diff changeset
73
876
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
74 makeABumperBooke()
606
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
75 {
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
76 # This can only be used once all the other Bookes have been built.
881
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
77 for booke in "$@"
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
78 do
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
79 ./makeBookeTunePages.sh "${booke}"
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
80 done
606
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
81 ./makeBooke.sh A4 "$@"
992
2d88532ccb2f Update Lulu option to A4NoCover.
Jim Hague <jim.hague@acm.org>
parents: 948
diff changeset
82 ./makeBooke.sh A4NoCover "$@"
2d88532ccb2f Update Lulu option to A4NoCover.
Jim Hague <jim.hague@acm.org>
parents: 948
diff changeset
83 ./makeBooke.sh Nook "$@"
881
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
84 for booke in "$@"
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
85 do
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
86 ./makeBookeTunePages.sh --use-compact "${booke}"
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
87 done
606
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
88 ./makeBooke.sh A5 "$@"
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
89 ./makeBooklet.sh "Bumper"
995
c612450d5dc1 Add A5NoCover book format.
Jim Hague <jim.hague@acm.org>
parents: 992
diff changeset
90 ./makeBooke.sh A5NoCover "$@"
606
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
91 }
216
64b84dea3337 Add Horn in F transposition.
Jim Hague <jim.hague@laicatc.com>
parents: 197
diff changeset
92
876
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
93 makeBumperBookes()
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
94 {
881
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
95 makeABumperBooke "$@"
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
96 for f in Bumper*.pdf
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
97 do
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
98 mv $f ./web
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
99 done
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
100
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
101 local cellobumper
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
102 local hornbumber
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
103 local recorderbumper
1019
ce13e23259b1 Add Alto Sax transposition.
Jim Hague <jim.hague@acm.org>
parents: 995
diff changeset
104 local saxbumper
876
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
105
881
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
106 for booke in "$@"
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
107 do
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
108 cellobumper+=("${booke}-Cello")
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
109 hornbumper+=("${booke}-HornInF")
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
110 recorderbumper+=("${booke}-AltoRecorderCFingering")
1019
ce13e23259b1 Add Alto Sax transposition.
Jim Hague <jim.hague@acm.org>
parents: 995
diff changeset
111 saxbumper+=("${booke}-AltoSax")
881
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
112 done
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
113 makeABumperBooke "${cellobumper[@]}"
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
114 for f in Bumper*.pdf
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
115 do
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
116 t=$(echo $f | sed -e "s/.pdf/-Cello.pdf/")
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
117 mv $f ./web/$t
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
118 done
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
119 makeABumperBooke "${hornbumper[@]}"
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
120 for f in Bumper*.pdf
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
121 do
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
122 t=$(echo $f | sed -e "s/.pdf/-HornInF.pdf/")
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
123 mv $f ./web/$t
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
124 done
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
125 makeABumperBooke "${recorderbumper[@]}"
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
126 for f in Bumper*.pdf
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
127 do
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
128 t=$(echo $f | sed -e "s/.pdf/-AltoRecorderCFingering.pdf/")
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
129 mv $f ./web/$t
94c7a0a3158c Fix Bumper Booke generation and add Bumper transpositions.
Jim Hague <jim.hague@acm.org>
parents: 876
diff changeset
130 done
1019
ce13e23259b1 Add Alto Sax transposition.
Jim Hague <jim.hague@acm.org>
parents: 995
diff changeset
131 makeABumperBooke "${saxbumper[@]}"
ce13e23259b1 Add Alto Sax transposition.
Jim Hague <jim.hague@acm.org>
parents: 995
diff changeset
132 for f in Bumper*.pdf
ce13e23259b1 Add Alto Sax transposition.
Jim Hague <jim.hague@acm.org>
parents: 995
diff changeset
133 do
ce13e23259b1 Add Alto Sax transposition.
Jim Hague <jim.hague@acm.org>
parents: 995
diff changeset
134 t=$(echo $f | sed -e "s/.pdf/-AltoSax.pdf/")
ce13e23259b1 Add Alto Sax transposition.
Jim Hague <jim.hague@acm.org>
parents: 995
diff changeset
135 mv $f ./web/$t
ce13e23259b1 Add Alto Sax transposition.
Jim Hague <jim.hague@acm.org>
parents: 995
diff changeset
136 done
876
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
137 }
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
138
762
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
139 declare buildBookes
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
140 declare bumperBookes
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
141
606
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
142 for booke in "$@"
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
143 do
762
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
144 if [[ ${booke:0:1} = "-" ]]; then
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
145 booke=${booke/#-/}
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
146 else
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
147 bumperBookes+=("$booke")
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
148 fi
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
149 buildBookes+=("$booke")
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
150 done
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
151
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
152 for booke in "${buildBookes[@]}"
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
153 do
606
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
154 makeASingleBooke $booke
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
155 done
762
d6f1f2b3bd01 Allow bookes to be build individually but omitted from Bumper Booke.
Jim Hague <jim.hague@acm.org>
parents: 748
diff changeset
156 if [[ ${#bumperBookes[@]} -gt 1 ]]; then
876
1a838d8dca2a Fix building transposed bookes.
Jim Hague <jim.hague@acm.org>
parents: 762
diff changeset
157 makeBumperBookes "${bumperBookes[@]}"
606
d5357ee6b4b2 Rework makeAll.sh to make multiple Bookes and a Bumper Booke too.
Jim Hague <jim.hague@acm.org>
parents: 603
diff changeset
158 fi