[Date Index][Thread Index]
[Date Prev][Date Next][Thread Prev][Thread Next]

Re: question about #include and wmlrc



On Tue, Apr 14, 1998, Viorel ANGHEL wrote:

> I have a site with some directories structure. All wml files contain
> something like 
>   #include "header.wml"
>   ...
>   #include "footer.wml"
> 
> I want that header/footer files to be searched in current dir, then in upper
> dir and so on, i mean  like in regexp (../)*. I have tryied to put in wmlrc
> something like
>   -I./:../:../../
> but it didn't work.

Ops, IPP's -I option does not support a PATH-style argument.
Did I mis-documented it this way somewhere? Hmmm...

Just use 

    -I. -I.. -I../.. -I../../.. -I../../../.. 

in your local .wmlrc or more intuitive only

    -I.

in .wmlrc's at each level. Both should work although I've
not tested it now.
                                       Ralf S. Engelschall
                                       rse@engelschall.com
                                       www.engelschall.com
______________________________________________________________________
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com