diff options
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/buildzip.pl | 16 |
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/`; |