From 66fa5b578904f7df61293d6ce5c08966b5db13db Mon Sep 17 00:00:00 2001 From: Björn Stenberg Date: Mon, 7 Dec 2009 09:03:11 +0000 Subject: Rename targets to be consistent in all places. (FS #10819) git-svn-id: svn://svn.rockbox.org/rockbox/branches/v3_4@23881 a1c6a512-1295-4272-9138-f99709370657 --- tools/release/voices.pl | 44 ++++++++++---------------------------------- 1 file changed, 10 insertions(+), 34 deletions(-) (limited to 'tools/release/voices.pl') diff --git a/tools/release/voices.pl b/tools/release/voices.pl index 056f6d06a9..d51c3208df 100755 --- a/tools/release/voices.pl +++ b/tools/release/voices.pl @@ -1,6 +1,7 @@ #!/usr/bin/perl -$version="3.4"; +require "../builds.pm"; +my $version = $publicrelease; my $verbose; if($ARGV[0] eq "-v") { @@ -16,7 +17,7 @@ if($ARGV[0]) { # made once for all targets sub runone { - my ($dir, $select, $newl)=@_; + my ($dir)=@_; my $a; if($doonly && ($doonly ne $dir)) { @@ -28,7 +29,7 @@ sub runone { print "Build in buildv-$dir\n" if($verbose); # build the manual(s) - $a = buildit($dir, $select, $newl); + $a = buildit($dir); chdir ".."; @@ -50,13 +51,11 @@ sub runone { }; sub buildit { - my ($dir, $select, $newl)=@_; + my ($model)=@_; `rm -rf * >/dev/null 2>&1`; - # V (voice), F (festival), L (lame), [blank] (English) - my $c = sprintf('printf "%s\n%sa\nv\n\n\nf\n\n" | ../tools/configure', - $select, $newl?'\n':""); + my $c = "../tools/configure --type=av --target=$model --language=0 --tts=f"; print "C: $c\n" if($verbose); `$c`; @@ -75,31 +74,8 @@ my $pool="$home/tmp/rockbox-voices-$version/voice-pool"; `rm -f $pool/*`; $ENV{'POOL'}="$pool"; -runone("player", "player", 1); -runone("recorder", "recorder", 1); -runone("fmrecorder", "fmrecorder", 1); -runone("recorderv2", "recorderv2", 1); -runone("ondiosp", "ondiosp", 1); -runone("ondiofm", "ondiofm", 1); -runone("h100", "h100"); -runone("h120", "h120"); -runone("h300", "h300"); -runone("ipodcolor", "ipodcolor"); -runone("ipodnano", "ipodnano"); -runone("ipod4gray", "ipod4g"); -runone("ipodvideo", "ipodvideo", 1); -runone("ipod3g", "ipod3g"); -runone("ipod1g2g", "ipod1g2g"); -runone("iaudiox5", "x5"); -runone("iaudiom5", "m5"); -runone("iaudiom3", "m3"); -runone("ipodmini2g", "ipodmini2g"); -runone("ipodmini1g", "ipodmini"); -runone("h10", "h10"); -runone("h10_5gb", "h10_5gb"); -runone("gigabeatf", "gigabeatf"); -runone("sansae200", "e200"); -runone("sansac200", "c200"); -runone("mrobe100", "mrobe100"); -#runone("cowond2", "cowond2"); +for my $b (&stablebuilds) { + next if ($builds{$b}{configname} < 3); # no variants + runone($b); +} -- cgit v1.2.3