[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]
Re: Forcing dependencies on wmk
- From: Denis Barbier <nospam@thanx>
- Date: Wed, 9 Jun 1999 22:16:39 +0200 (CET)
On Wed, 9 Jun 1999, Denis Barbier wrote:
> Syntax:
> o Add the ``depend'' attribute after the #use or #include directive.
> This file won't be included, but wmk will be told about this
> dependancy.
> o You can use filename patterns, i.e. ? is any single chararacter
> and * matches any string. Brackets are not yet implemented.
I have a killer argument against this syntax: it will be really confusing
when this syntax is run through wml-1.6.8 (the file will be inserted).
So i adopt the ``#depends'' suntax.
> For instance, if you have datas under datas/01, datas/02,... add
> #include 'datas/0?/*.dat' depend
becomes
#depends 'datas/0?/*.dat'
Wml < 1.7.2 will see this file as a comment.
It's implemented and should be available at midnight.
> 1- The 2 following lines are equivalent
> #use a::b::c
> #include <b/c.a>
Oops, not exactly. The :: syntax works with #include too. The #use
variant ensures files are read only once.
Denis
______________________________________________________________________
Website META Language (WML) www.engelschall.com/sw/wml/
Official Support Mailing List sw-wml@engelschall.com
Automated List Manager majordomo@engelschall.com