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

Re: Recommended handling of sites with subdirs?

Hi Denis,

thanks a lot for your hints.

> Here are some basics.  Put
>    -I templates
> in your top-level .wmlrc after moving your macro files under templates/.
> Then you may include them via #include "file".
> And the line
>    -D ROOT~.
> in that .wmlrc lets you define relative links, because $(ROOT) get
> this way always expanded to `\.|\.\.(/\.\.)*' (with a Perl-regexp
> syntax) to match the top-level directory (see last section in
> wml_intro(7)).

Actually, I'm using both features already, but I wasn't aware of
what exactly -D ROOT~. does :-) I'll have to check it out in more


Stephan Petersen                           sp@gtt.lth.rwth-aachen.de

>-=-=-=- Visit GTT's Technical Thermochemistry Web Page at =-=-=-=-<
>-=-=-=-      http://gttserv.lth.rwth-aachen.de/gtt/       =-=-=-=-<
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com