diff options
author | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:03:11 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2009-12-07 09:03:11 +0000 |
commit | 66fa5b578904f7df61293d6ce5c08966b5db13db (patch) | |
tree | 5db57c13d5b23e76793b60bbc48579ac24da1550 /tools/release/manuals.pl | |
parent | 7b70046e7ab7329d93f800fe4b074fabff998a0e (diff) | |
download | rockbox-66fa5b578904f7df61293d6ce5c08966b5db13db.tar.gz rockbox-66fa5b578904f7df61293d6ce5c08966b5db13db.zip |
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
Diffstat (limited to 'tools/release/manuals.pl')
-rwxr-xr-x | tools/release/manuals.pl | 41 |
1 files changed, 11 insertions, 30 deletions
diff --git a/tools/release/manuals.pl b/tools/release/manuals.pl index 02783d356b..7b24ea4880 100755 --- a/tools/release/manuals.pl +++ b/tools/release/manuals.pl | |||
@@ -1,6 +1,7 @@ | |||
1 | #!/usr/bin/perl | 1 | #!/usr/bin/perl |
2 | 2 | ||
3 | $version="3.4"; | 3 | require "../builds.pm"; |
4 | my $version = $publicrelease; | ||
4 | 5 | ||
5 | my $verbose; | 6 | my $verbose; |
6 | if($ARGV[0] eq "-v") { | 7 | if($ARGV[0] eq "-v") { |
@@ -16,7 +17,7 @@ if($ARGV[0]) { | |||
16 | 17 | ||
17 | # made once for all targets | 18 | # made once for all targets |
18 | sub runone { | 19 | sub runone { |
19 | my ($dir, $conf, $nl)=@_; | 20 | my ($dir)=@_; |
20 | my $a; | 21 | my $a; |
21 | 22 | ||
22 | if($doonly && ($doonly ne $dir)) { | 23 | if($doonly && ($doonly ne $dir)) { |
@@ -28,7 +29,7 @@ sub runone { | |||
28 | print "Build in buildm-$dir\n" if($verbose); | 29 | print "Build in buildm-$dir\n" if($verbose); |
29 | 30 | ||
30 | # build the manual(s) | 31 | # build the manual(s) |
31 | $a = buildit($dir, $conf, $nl); | 32 | $a = buildit($dir); |
32 | 33 | ||
33 | chdir ".."; | 34 | chdir ".."; |
34 | 35 | ||
@@ -53,12 +54,11 @@ sub runone { | |||
53 | }; | 54 | }; |
54 | 55 | ||
55 | sub buildit { | 56 | sub buildit { |
56 | my ($target, $confnum, $newl)=@_; | 57 | my ($target)=@_; |
57 | 58 | ||
58 | `rm -rf * >/dev/null 2>&1`; | 59 | `rm -rf * >/dev/null 2>&1`; |
59 | 60 | ||
60 | my $c = sprintf('printf "%s\n%sm\n" | ../tools/configure', | 61 | my $c = "../tools/configure --target=$target --type=m"; |
61 | $confnum, $newl?'\n':''); | ||
62 | 62 | ||
63 | print "C: $c\n" if($verbose); | 63 | print "C: $c\n" if($verbose); |
64 | `$c`; | 64 | `$c`; |
@@ -73,27 +73,8 @@ sub buildit { | |||
73 | # run make in tools first to make sure they're up-to-date | 73 | # run make in tools first to make sure they're up-to-date |
74 | `(cd tools && make ) >/dev/null 2>&1`; | 74 | `(cd tools && make ) >/dev/null 2>&1`; |
75 | 75 | ||
76 | runone("player", "player", 1); | 76 | for my $b (&stablebuilds) { |
77 | runone("recorder", "recorder", 1); | 77 | next if ($builds{$b}{configname} < 3); # no variants |
78 | runone("fmrecorder", "fmrecorder", 1); | 78 | |
79 | runone("recorderv2", "recorderv2", 1); | 79 | runone($b); |
80 | runone("ondiosp", "ondiosp", 1); | 80 | } |
81 | runone("ondiofm", "ondiofm", 1); | ||
82 | runone("h100", "h100"); | ||
83 | #runone("h120", 9); | ||
84 | runone("h300", "h300"); | ||
85 | runone("ipodcolor", "ipodcolor"); | ||
86 | runone("ipodnano", "ipodnano"); | ||
87 | runone("ipod4gray", "ipod4g"); | ||
88 | runone("ipodvideo", "ipodvideo", 1); | ||
89 | runone("ipod3g", "ipod3g"); | ||
90 | runone("ipod1g2g", "ipod1g2g"); | ||
91 | runone("iaudiox5", "x5"); | ||
92 | runone("iaudiom5", "m5"); | ||
93 | runone("ipodmini2g", "ipodmini2g"); | ||
94 | runone("h10", "h10"); | ||
95 | runone("h10_5gb", "h10_5gb"); | ||
96 | runone("gigabeatf", "gigabeatf"); | ||
97 | runone("sansae200", "e200"); | ||
98 | runone("sansac200", "c200"); | ||
99 | runone("mrobe100", "mrobe100"); | ||