summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/buildzip.pl16
1 files changed, 16 insertions, 0 deletions
diff --git a/tools/buildzip.pl b/tools/buildzip.pl
index 690fc69..4d8b58d 100755
--- a/tools/buildzip.pl
+++ b/tools/buildzip.pl
@@ -1,4 +1,12 @@
#!/usr/bin/perl
+# __________ __ ___.
+# Open \______ \ ____ ____ | | _\_ |__ _______ ___
+# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+# \/ \/ \/ \/ \/
+# $Id$
+#
$ROOT="..";
@@ -192,6 +200,14 @@ STOP
`cp $ROOT/docs/$_ .rockbox/docs/$_.txt`;
}
+ # Now do the WPS dance
+ if(-d "$ROOT/wps") {
+ system("perl $ROOT/wps/wpsbuild.pl $ROOT/wps/WPSLIST $target");
+ }
+ else {
+ print STDERR "No wps module present, can't do the WPS magic!\n";
+ }
+
# now copy the file made for reading on the unit:
#if($notplayer) {
# `cp $webroot/docs/Help-JBR.txt .rockbox/docs/`;