summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--www/Makefile7
-rw-r--r--www/daily.t20
-rwxr-xr-xwww/dailymod.pl30
-rwxr-xr-xwww/dailysrc.pl16
-rw-r--r--www/head.t1
5 files changed, 73 insertions, 1 deletions
diff --git a/www/Makefile b/www/Makefile
index 7f4bd94b83..0fd53bf94b 100644
--- a/www/Makefile
+++ b/www/Makefile
@@ -1,13 +1,16 @@
1ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -Uunix -H -C -V -LL >$@ 1ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -Uunix -H -C -V -LL >$@
2 2
3SRC := $(wildcard *.t) 3SRC := $(wildcard *.t)
4OBJS := $(SRC:%.t=%.html) 4OBJS := $(SRC:%.t=%.html) daily.shtml
5 5
6.SUFFIXES: .t .html 6.SUFFIXES: .t .html
7 7
8%.html : %.t 8%.html : %.t
9 $(ACTION) $< 9 $(ACTION) $<
10 10
11%.shtml : %.t
12 $(ACTION) $<
13
11all: $(OBJS) 14all: $(OBJS)
12 @(cd schematics; $(MAKE)) 15 @(cd schematics; $(MAKE))
13 @(cd docs; $(MAKE)) 16 @(cd docs; $(MAKE))
@@ -18,3 +21,5 @@ all: $(OBJS)
18 21
19main.html: main.t activity.html 22main.html: main.t activity.html
20 23
24daily.shtml: daily.t
25
diff --git a/www/daily.t b/www/daily.t
new file mode 100644
index 0000000000..0c41748244
--- /dev/null
+++ b/www/daily.t
@@ -0,0 +1,20 @@
1#define _PAGE_ Daily snapshots
2#include "head.t"
3
4<h2>Source tarballs</h2>
5
6<!--#exec cmd="./dailysrc.pl" -->
7
8<h2>Target builds</h2>
9
10<p>There are three versions of each build:
11
12<!--#exec cmd="./dailymod.pl" -->
13
14#if 0
15<p>Note 1: Due to the big difference between the player and recorder models, they support different features.
16#endif
17
18<p><b>Note:</b> You must rename the file to "archos.mod" before copying it to the root of your archos.
19
20#include "foot.t"
diff --git a/www/dailymod.pl b/www/dailymod.pl
new file mode 100755
index 0000000000..f923a414c0
--- /dev/null
+++ b/www/dailymod.pl
@@ -0,0 +1,30 @@
1#!/usr/bin/perl
2
3$basedir = "/home/dast/rockbox-build/daily-build";
4
5sub list {
6 $dir = shift @_;
7
8 opendir(DIR, "$basedir/$dir") or
9 die "Can't opendir($basedir/$dir)";
10 @tarballs = grep { /^archos/ } readdir(DIR);
11 closedir DIR;
12
13 print "<ul>\n";
14 for ( @tarballs ) {
15 print "<li><a href=\"daily/$dir/$_\">$_</a>\n";
16 }
17 print "</ul>\n";
18}
19
20print "<h3>player-old</h3>\n";
21print "<p>This version is for old Archos Jukebox 6000 models with ROM firmware older than 4.50.\n";
22&list("playerold");
23
24print "<h3>player</h3>\n";
25print "<p>This version is for Archos Jukebox 6000 with ROM firmware 4.50 or later, and all Studio models.\n";
26&list("player");
27
28print "<h3>recorder</h3>\n";
29print "<p>This version is for all Archos Jukebox Recorder models.\n";
30&list("recorder");
diff --git a/www/dailysrc.pl b/www/dailysrc.pl
new file mode 100755
index 0000000000..d14239eefd
--- /dev/null
+++ b/www/dailysrc.pl
@@ -0,0 +1,16 @@
1#!/usr/bin/perl
2
3$basedir = "/home/dast/rockbox-build/daily-build/";
4
5opendir(DIR, $basedir) or
6 die "Can't opendir($basedir)";
7@tarballs = grep { /^rockbox-daily-/ } readdir(DIR);
8closedir DIR;
9
10print "<ul>\n";
11
12for ( @tarballs ) {
13 print "<li><a href=\"daily/$_\">$_</a>\n";
14}
15
16print "</ul>\n";
diff --git a/www/head.t b/www/head.t
index 15b5f34a8a..c584e8c6c2 100644
--- a/www/head.t
+++ b/www/head.t
@@ -36,6 +36,7 @@
36<a class="menulink" href="/rockbox/irc/">IRC</a><br> 36<a class="menulink" href="/rockbox/irc/">IRC</a><br>
37<a class="menulink" href="/rockbox/tools.html">tools</a><br> 37<a class="menulink" href="/rockbox/tools.html">tools</a><br>
38<a class="menulink" href="/rockbox/internals/">photos</a><br> 38<a class="menulink" href="/rockbox/internals/">photos</a><br>
39<a class="menulink" href="http://bjorn.haxx.se/rockbox/daily.shtml">daily builds</a><br>
39<a class="menulink" href="/rockbox/cvs.html">CVS</a><br> 40<a class="menulink" href="/rockbox/cvs.html">CVS</a><br>
40<a class="menulink" href="http://sourceforge.net/projects/rockbox/">sourceforge</a><br> 41<a class="menulink" href="http://sourceforge.net/projects/rockbox/">sourceforge</a><br>
41<a class="menulink" href="/isd200/">linux driver</a> 42<a class="menulink" href="/isd200/">linux driver</a>