[WM] Separating source from output
Frank D. Cringle
fdc.cliwe.ping.de
Wed Apr 3 11:07:28 IST 2002
If I understand the webmake philosophy correctly, the source files and
output files are expected to share a single directory hierarchy. I
would like to keep what I consider to be source files (templates and
raw content) in one hierarchy and have webmake generate the output
(primarily .html files) in a separate hierarchy under the webserver's
document root.
With 'webmake -d /some/where/else' it is possible to force the
generated files into another hierarchy. According to the man-page,
support files (images etc.) are also looked for relative to this
directory. That makes sense for images, since they will be served
directly by the webserver. However, it seems that the output basedir
is also used when searching for <contents> and <includes> files. I
can achieve what I want by using absolute paths in those tags, but it
seems that I am fighting the tool rather than working with it.
Have I missed some obvious trick?
--
Frank Cringle, fdc at cliwe.ping.de
voice: (+49 7745) 928759; fax: 928761
More information about the Webmake-talk
mailing list