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

setting output dir in .wmlrc


I've got a question concerning the .wmlrc files:

I've got one .wmlrc in, say, /wwwroot/dir1, which reads
-D ROOT=/wwwroot
-o /wwwroot/dir2/%BASE.htm

and another one in a subdir /wwwroot/dir1/sub:
-D ROOT=/wwwroot
-o /wwwroot/dir2/sub/%BASE.htm

The goal I'd like to achieve with this, is to
output the files generated from /wwwroot/dir1/
to /wwwroot/dir2 and those from /wwwroot/dir1/sub/
to /wwwroot/dir2/sub/.

But wml writes all files *both* into
/wwwroot/dir2 *and* /wwwroot/dir2/sub/.

Does anybody know a solution for this (without
editing all source files and setting the output
dir in their headers)?

thanks in advance & best regards,
Thomas Kellner
Website META Language (WML)                www.engelschall.com/sw/wml/
Official Support Mailing List                   sw-wml@engelschall.com
Automated List Manager                       majordomo@engelschall.com