Subject: Re: CVS commit: htdocs/Documentation/Hardware/Machines/DEC
To: Rui Paulo <email@example.com>
From: Roland Illig <rillig@NetBSD.org>
Date: 10/16/2005 08:33:58
Rui Paulo wrote:
> On 2005.10.15 21:27:07 +0200, Roland Illig wrote:
> | Rui Paulo wrote:
> | >On 2005.10.15 19:30:35 +0200, Roland Illig wrote:
> | >| Rui Paulo wrote:
> | >| >You need to add this new file to htdocs/layout.xml too.
> | >|
> | >| why doesn't a "make" in htdocs/ complain about that? It's not fair to
> | >| leave this job to a human. ;)
> | >
> | >Hm. How exactly do you want make to detect new XML files?
> | cd htdocs
> | make show-all-xml-docs # <-- not yet implemented
> | or even better:
> | make lint # <-- not yet implemented, too
> | The details are left to the implementor of htdocslint. Whoever that will
> | be. ;)
> I can't find a really strong way to implement that... :-/ Mainly
> because the layout.xml defines how the website is structured (top
> links, next links, bottom links, etc.) and doing that with make(1) the
> right way is a PITA.
You overlooked a word: htdocslint. I am volunteering to write that,
maybe with some code reuse from pkglint, if someone tells me what _can_
be checked at all and which things are worth to be checked.