summaryrefslogtreecommitdiff
path: root/tools/buildzip.pl
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-14 15:06:51 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-14 15:06:51 +0000
commit51413e444296f4444a7ff6e1a005e18b30e0f77e (patch)
treef47118f077a9e1aef14d5104d50ffc5308be9776 /tools/buildzip.pl
parent8a91802d806376efce1b5605643977c6e7f1bcc4 (diff)
downloadrockbox-51413e444296f4444a7ff6e1a005e18b30e0f77e.tar.gz
rockbox-51413e444296f4444a7ff6e1a005e18b30e0f77e.zip
Added first take at WPS bundling magic. There's only one single WPS in there
yet, but it should work to start with... git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7864 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'tools/buildzip.pl')
-rwxr-xr-xtools/buildzip.pl16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index 690fc69b0f..4d8b58d72d 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -1,4 +1,12 @@
1#!/usr/bin/perl 1#!/usr/bin/perl
2# __________ __ ___.
3# Open \______ \ ____ ____ | | _\_ |__ _______ ___
4# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
5# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
6# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
7# \/ \/ \/ \/ \/
8# $Id$
9#
2 10
3$ROOT=".."; 11$ROOT="..";
4 12
@@ -192,6 +200,14 @@ STOP
192 `cp $ROOT/docs/$_ .rockbox/docs/$_.txt`; 200 `cp $ROOT/docs/$_ .rockbox/docs/$_.txt`;
193 } 201 }
194 202
203 # Now do the WPS dance
204 if(-d "$ROOT/wps") {
205 system("perl $ROOT/wps/wpsbuild.pl $ROOT/wps/WPSLIST $target");
206 }
207 else {
208 print STDERR "No wps module present, can't do the WPS magic!\n";
209 }
210
195 # now copy the file made for reading on the unit: 211 # now copy the file made for reading on the unit:
196 #if($notplayer) { 212 #if($notplayer) {
197 # `cp $webroot/docs/Help-JBR.txt .rockbox/docs/`; 213 # `cp $webroot/docs/Help-JBR.txt .rockbox/docs/`;