summaryrefslogtreecommitdiff
path: root/tools/release/manuals.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/release/manuals.pl')
-rwxr-xr-xtools/release/manuals.pl41
1 files changed, 30 insertions, 11 deletions
diff --git a/tools/release/manuals.pl b/tools/release/manuals.pl
index 7b24ea4880..02783d356b 100755
--- a/tools/release/manuals.pl
+++ b/tools/release/manuals.pl
@@ -1,7 +1,6 @@
1#!/usr/bin/perl 1#!/usr/bin/perl
2 2
3require "../builds.pm"; 3$version="3.4";
4my $version = $publicrelease;
5 4
6my $verbose; 5my $verbose;
7if($ARGV[0] eq "-v") { 6if($ARGV[0] eq "-v") {
@@ -17,7 +16,7 @@ if($ARGV[0]) {
17 16
18# made once for all targets 17# made once for all targets
19sub runone { 18sub runone {
20 my ($dir)=@_; 19 my ($dir, $conf, $nl)=@_;
21 my $a; 20 my $a;
22 21
23 if($doonly && ($doonly ne $dir)) { 22 if($doonly && ($doonly ne $dir)) {
@@ -29,7 +28,7 @@ sub runone {
29 print "Build in buildm-$dir\n" if($verbose); 28 print "Build in buildm-$dir\n" if($verbose);
30 29
31 # build the manual(s) 30 # build the manual(s)
32 $a = buildit($dir); 31 $a = buildit($dir, $conf, $nl);
33 32
34 chdir ".."; 33 chdir "..";
35 34
@@ -54,11 +53,12 @@ sub runone {
54}; 53};
55 54
56sub buildit { 55sub buildit {
57 my ($target)=@_; 56 my ($target, $confnum, $newl)=@_;
58 57
59 `rm -rf * >/dev/null 2>&1`; 58 `rm -rf * >/dev/null 2>&1`;
60 59
61 my $c = "../tools/configure --target=$target --type=m"; 60 my $c = sprintf('printf "%s\n%sm\n" | ../tools/configure',
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,8 +73,27 @@ 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
76for my $b (&stablebuilds) { 76runone("player", "player", 1);
77 next if ($builds{$b}{configname} < 3); # no variants 77runone("recorder", "recorder", 1);
78 78runone("fmrecorder", "fmrecorder", 1);
79 runone($b); 79runone("recorderv2", "recorderv2", 1);
80} 80runone("ondiosp", "ondiosp", 1);
81runone("ondiofm", "ondiofm", 1);
82runone("h100", "h100");
83#runone("h120", 9);
84runone("h300", "h300");
85runone("ipodcolor", "ipodcolor");
86runone("ipodnano", "ipodnano");
87runone("ipod4gray", "ipod4g");
88runone("ipodvideo", "ipodvideo", 1);
89runone("ipod3g", "ipod3g");
90runone("ipod1g2g", "ipod1g2g");
91runone("iaudiox5", "x5");
92runone("iaudiom5", "m5");
93runone("ipodmini2g", "ipodmini2g");
94runone("h10", "h10");
95runone("h10_5gb", "h10_5gb");
96runone("gigabeatf", "gigabeatf");
97runone("sansae200", "e200");
98runone("sansac200", "c200");
99runone("mrobe100", "mrobe100");