summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/release/bins.pl6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/release/bins.pl b/tools/release/bins.pl
index 8aa44ab64d..f45450a90d 100755
--- a/tools/release/bins.pl
+++ b/tools/release/bins.pl
@@ -49,11 +49,15 @@ sub runone {
49 chdir ".."; 49 chdir "..";
50 50
51 my $o="build-$dir/rockbox.zip"; 51 my $o="build-$dir/rockbox.zip";
52 my $map="build-$dir/rockbox-maps.zip";
52 if (-f $o) { 53 if (-f $o) {
53 my $newo="output/rockbox-$dir-$version.zip"; 54 my $newo="output/rockbox-$dir-$version.zip";
55 my $newmap="output/rockbox-$dir-$version-maps.zip";
54 system("mkdir -p output"); 56 system("mkdir -p output");
55 system("mv $o $newo"); 57 system("mv $o $newo");
56 print "moved $o to $newo\n" if($verbose); 58 print "moved $o to $newo\n" if($verbose);
59 system("mv $map $newmap");
60 print "moved $map to $newmap\n" if($verbose);
57 } 61 }
58 62
59 print "remove all contents in build-$dir\n" if($verbose); 63 print "remove all contents in build-$dir\n" if($verbose);
@@ -106,7 +110,7 @@ sub buildit {
106 `$c`; 110 `$c`;
107 111
108 print "Run 'make'\n" if($verbose); 112 print "Run 'make'\n" if($verbose);
109 `make`; 113 `make VERSION=$version`;
110 114
111 print "Run 'make zip'\n" if($verbose); 115 print "Run 'make zip'\n" if($verbose);
112 `make zip`; 116 `make zip`;