[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Forcing dependencies on wmk
- From: Denis Barbier <nospam@thanx>
- Date: Mon, 7 Jun 1999 18:49:42 +0200 (CET)
On Mon, 7 Jun 1999, James A. Treacy wrote:
Hi Jay,
> This is a bit premature as I haven't tried the new version of wml yet
> (the new Debian package just came out) so if the following has been
> addressed, my apologies.
>
> One thing that would be very useful is a way to force a dependency
> on a file, or a set of files. This would allow you to to have
> pages that use perl scripts, which grab data from other files, to
> be made automatically using wmk. Something like
>
> #depends "news/*.wml"
> would allow me to get rid of a lot of stuff currently in Makefiles.
Yes, seems reasonable,
I think that a special attribute is the easiest solution, e.g.
#include "news/foo.wml" depend
Unfortunately, i am not sure whether wildcards are easy to deal with.
> Also, does the new wmk check dependencies recursively? It is common
> to have #includes (or #use) in included files.
Yes :-)
Only user templates are checked, system files are supposed immutable.
Denis
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com