summaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2002-05-27 14:22:23 +0000
committerBjörn Stenberg <bjorn@haxx.se>2002-05-27 14:22:23 +0000
commit872e3521dde6866e77277cb7931c821824b91344 (patch)
treec77852518b1c0392ee3f030ae74cf099b0d9e6b0 /www
parent14a20d54b382081b651b63a535a04dc74f01130b (diff)
downloadrockbox-872e3521dde6866e77277cb7931c821824b91344.tar.gz
rockbox-872e3521dde6866e77277cb7931c821824b91344.zip
Daily builds
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@752 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'www')
-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 @@
ACTION=@echo preprocessing $@; rm -f $@; $(HOME)/bin/fcpp -WWW -Uunix -H -C -V -LL >$@
SRC := $(wildcard *.t)
-OBJS := $(SRC:%.t=%.html)
+OBJS := $(SRC:%.t=%.html) daily.shtml
.SUFFIXES: .t .html
%.html : %.t
$(ACTION) $<
+%.shtml : %.t
+ $(ACTION) $<
+
all: $(OBJS)
@(cd schematics; $(MAKE))
@(cd docs; $(MAKE))
@@ -18,3 +21,5 @@ all: $(OBJS)
main.html: main.t activity.html
+daily.shtml: daily.t
+
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 @@
+#define _PAGE_ Daily snapshots
+#include "head.t"
+
+<h2>Source tarballs</h2>
+
+<!--#exec cmd="./dailysrc.pl" -->
+
+<h2>Target builds</h2>
+
+<p>There are three versions of each build:
+
+<!--#exec cmd="./dailymod.pl" -->
+
+#if 0
+<p>Note 1: Due to the big difference between the player and recorder models, they support different features.
+#endif
+
+<p><b>Note:</b> You must rename the file to "archos.mod" before copying it to the root of your archos.
+
+#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 @@
+#!/usr/bin/perl
+
+$basedir = "/home/dast/rockbox-build/daily-build";
+
+sub list {
+ $dir = shift @_;
+
+ opendir(DIR, "$basedir/$dir") or
+ die "Can't opendir($basedir/$dir)";
+ @tarballs = grep { /^archos/ } readdir(DIR);
+ closedir DIR;
+
+ print "<ul>\n";
+ for ( @tarballs ) {
+ print "<li><a href=\"daily/$dir/$_\">$_</a>\n";
+ }
+ print "</ul>\n";
+}
+
+print "<h3>player-old</h3>\n";
+print "<p>This version is for old Archos Jukebox 6000 models with ROM firmware older than 4.50.\n";
+&list("playerold");
+
+print "<h3>player</h3>\n";
+print "<p>This version is for Archos Jukebox 6000 with ROM firmware 4.50 or later, and all Studio models.\n";
+&list("player");
+
+print "<h3>recorder</h3>\n";
+print "<p>This version is for all Archos Jukebox Recorder models.\n";
+&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 @@
+#!/usr/bin/perl
+
+$basedir = "/home/dast/rockbox-build/daily-build/";
+
+opendir(DIR, $basedir) or
+ die "Can't opendir($basedir)";
+@tarballs = grep { /^rockbox-daily-/ } readdir(DIR);
+closedir DIR;
+
+print "<ul>\n";
+
+for ( @tarballs ) {
+ print "<li><a href=\"daily/$_\">$_</a>\n";
+}
+
+print "</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 @@
<a class="menulink" href="/rockbox/irc/">IRC</a><br>
<a class="menulink" href="/rockbox/tools.html">tools</a><br>
<a class="menulink" href="/rockbox/internals/">photos</a><br>
+<a class="menulink" href="http://bjorn.haxx.se/rockbox/daily.shtml">daily builds</a><br>
<a class="menulink" href="/rockbox/cvs.html">CVS</a><br>
<a class="menulink" href="http://sourceforge.net/projects/rockbox/">sourceforge</a><br>
<a class="menulink" href="/isd200/">linux driver</a>