Subject: Re: CVS commit: htdocs/releases/formal-4
To: None <pavel@netbsd.org>
From: Mike M. Volokhov <mishka@netbsd.org>
List: www-changes
Date: 12/18/2007 15:44:45
On Mon, 17 Dec 2007 20:49:07 +0000 (UTC) Pavel Cahyna wrote:
> 
> Module Name:	htdocs
> Committed By:	pavel
> Date:		Mon Dec 17 20:49:07 UTC 2007
> 
> Modified Files:
> 	htdocs/releases/formal-4: Makefile NetBSD-4.0.xml
> Added Files:
> 	htdocs/releases/formal-4: announcement.xsl
> 
> Log Message:
> Autogenerate the numbers of platforms from the tables.
> 
> 
> To generate a diff of this commit:
> cvs rdiff -r1.2 -r1.3 htdocs/releases/formal-4/Makefile
> cvs rdiff -r1.44 -r1.45 htdocs/releases/formal-4/NetBSD-4.0.xml
> cvs rdiff -r0 -r1.1 htdocs/releases/formal-4/announcement.xsl
> 
> Please note that diffs are not public domain; they are subject to the
> copyright notices on the relevant files.

Hello. 

Unfortunately, I can't treat this solution as a perfect one, because it
introduces new XML tags (and brokes the DTD even more) and makes it in
somewhat unreliable fashion (it just counts table rows, but can you be
sure we will have those tables consistent). It's better to use exernal
database, describing ports and releases status.

Also, following this solution, you should add docbook-website.xsl
dependency as:

	XMLDOCS+=NetBSD-4.0:announcement.xsl,docbook-website::

--
Cheers,
Mishka.