Re: Help & advise on using WML constructs to create pages.
On Mon, Oct 29, 2007 at 11:42:14PM +0000, Steve Kemp wrote:
> The way it works is to have a script 'make-advisories' which reads
> the contents of ./data/2007.data and outputs ./data/2007.inc.
> This .inc file is then included in the 2007/index.wml file.
Turns out this doesn't work so well atm.
The problem is that the subdirectories in SUBS are processed *before*
the parent directory. So this never actually reaches the code that makes
the .inc files.
I see two possibilities to solve this properly:
1) Just dump the .inc files and change the format of the .data files to
something directly usable. You could e.g. directly use WML (i.e. mp4h)
2) Add code in the 200?/Makefile files to depend on the needed data
files so that they are generated correctly
Frank Lichtenheld <email@example.com>