14 print "only build $doonly\n" if($verbose);
17 # made once for all targets
22 if($doonly && ($doonly ne $dir)) {
28 print "Build in buildv-$dir\n" if($verbose);
35 my $o="buildv-$dir/english.voice";
37 my $newo="output/$dir-$version-english.zip";
38 system("cp $o output/$dir-$version-english.voice");
39 system("mkdir -p .rockbox/langs");
40 system("cp $o .rockbox/langs");
41 system("zip -r $newo .rockbox");
42 system("rm -rf .rockbox");
43 print "moved $o to $newo\n" if($verbose);
46 print "remove all contents in buildv-$dir\n" if($verbose);
47 system("rm -rf buildv-$dir");
55 `rm -rf * >/dev/null 2>&1`;
57 my $c = "../tools/configure --type=av --target=$model --language=0 --tts=f";
59 print "C: $c\n" if($verbose);
62 print "Run 'make voice'\n" if($verbose);
63 print `make voice 2>/dev/null`;
66 # run make in tools first to make sure they're up-to-date
67 `(cd tools && make ) >/dev/null 2>&1`;
69 my $home=$ENV{'HOME'};
71 my $pool="$home/tmp/rockbox-voices-$version/voice-pool";
76 for my $b (&stablebuilds
) {
77 next if ($builds{$b}{configname
} < 3); # no variants