diff --git a/www/Makefile b/www/Makefile index 012fd091f9..b1a971a382 100644 --- a/www/Makefile +++ b/www/Makefile @@ -13,7 +13,7 @@ OBJS := $(SRC:%.t=%.html) $(SOBJS) %.shtml : %.t $(ACTION) $< -all: $(OBJS) +all: $(OBJS) head.tmpl @(cd schematics; $(MAKE)) @(cd docs; $(MAKE)) @(cd mods; $(MAKE)) @@ -30,6 +30,9 @@ all: $(OBJS) @(cd screenshots; $(MAKE)) @(cd digest; $(MAKE)) +head.tmpl: head.t + $(ACTION) -DTWIKI $< + main.html: main.t activity.html main.shtml: main.t activity.html diff --git a/www/daily.t b/www/daily.t index 57c3e8a27f..28e5cc156a 100644 --- a/www/daily.t +++ b/www/daily.t @@ -3,24 +3,16 @@
These are automated daily builds of the code in CVS. They contain all the latest features. They may also contain bugs and/or undocumented changes... :-) -The top line is the latest. +
These are automated daily builds of the code in CVS. They contain all the +latest features. They may also contain bugs and/or undocumented changes... identify your model
-#if 0 -
-mod - The file you should name "archos.mod" before copying it to the root of your archos.
-ajz - The file you should name "ajbrec.ajz" before copying it to the root of your archos.
-rocks - All plugins for this particular release of Rockbox.
-full - Full zip archive, with rockbox, plugins, languages, docs, fonts, ucl etc.
-ucl - File to use when flashing Rockbox
-#endif
Please also look at the documentation for do-it-yourselfers. +
Please also look at the documentation for do-it-yourselfers.
@@ -46,10 +38,6 @@ The batch timestamp is GMT.
Player debug
(rocks)
-Player simulator (linux)
-(rocks)
-Player simulator (win32)
-(rocks)
-How to use CVS. +How to use CVS. #include "foot.t" diff --git a/www/dailymod.pl b/www/dailymod.pl index a02e6be1b8..eafbf0c979 100755 --- a/www/dailymod.pl +++ b/www/dailymod.pl @@ -1,13 +1,14 @@ #!/usr/bin/perl +require "rockbox.pm"; + my $basedir = "/home/dast/rockbox-build/daily-build"; -my @list=("player", "recorder", "fmrecorder", "recorderv2", "recorder8mb"); +my @list=("player", "recorder", "fmrecorder", "recorderv2", "recorder8mb", "fmrecorder8mb"); for(@list) { my $dir = $_; - opendir(DIR, "$basedir/$dir") or - die "Can't opendir($basedir/$dir)"; + opendir(DIR, "$basedir/$dir") or next; my @files = sort grep { /^rockbox/ } readdir(DIR); closedir DIR; @@ -17,15 +18,11 @@ for(@list) { } } -print "
| date | "; - - for(@list) { - print "$_ | "; - } -} +$color1 = 0xc6; +$color2 = 0xd6; +$color3 = 0xf5; +$font1 = ""; +$font2 = ""; for(reverse sort keys %date) { my $d = $_; @@ -33,21 +30,33 @@ for(reverse sort keys %date) { if($d =~ /(\d\d\d\d)(\d\d)(\d\d)/) { $nice = "$1-$2-$3"; } - print "||
|---|---|---|---|
| $nice | "; + $col = sprintf("style=\"background-color: #%02x%02x%02x\"", + $color1, $color2, $color3); + print "
| "; + printf " | $font1$m$font2 "; # new-style full zip: if( -f "daily/$m/rockbox-${m}-${d}.zip") { - printf "%s${m}", + printf "%slatest", $n?", ":""; $n++; } - print " | ";
+ print "$font2 ${font1}windows installer$font2 "; + print "latest", + " | ";
+ print "\n";
+ $font1 = $font2 = "";
+ last;
}
print "