WMK(1) | EN Tools | WMK(1) |
WMk - Website META Language Make
2.32.0
wmk [-a] [-A WILDMAT] [-F WILDMAT] [-x PATH] [-X PATH] [-a] [-f] [-n] [-r] [WML-options] [path ...]
wmk [-V] [-h]
This is the high-level frontend to the Website META Language (WML), a free HTML generation toolkit for Unix, internally consisting of 9 independent languages. See wml(1) for more details on WML.
Use this command to run wml on a bunch of .wml files either directly given on the command line as path or found via directory traversal in path.
WMk recognizes WML's shebang lines (``"#!wml" options'') in the .wml files and automatically adds options to the command line of wml when invoking it for this particular file.
All WML-options directly correspond to their counterparts in wml(1) because they are just forwarded by wmk except the -n and -o options which are implicitly created by wmk for each wml invocation.
-F images -F templates ...
Auto-adjusted variables specified as -DNAME~PATH on the wmk command-line will not necessarily have the same effect as a similar definition in a ./.wmlrc file. This is because, when processing sub-directories, wmk changes its working directory to each of those directories, which can influence the interpolation of such auto-adjusted variables. When specified on the command line, such variables are interpolated with respect to wml's current working directory at the time of its invocation. So, if you wish such variables to be interpolated relative to wmk's current working directory at the time of its invocation, one can work-around this issue by specifying -DNAME~PATH in a .wmlrc in that directory rather than specifying it on the wmk command-line.
Ralf S. Engelschall rse@engelschall.com www.engelschall.com Denis Barbier barbier@engelschall.com
2020-11-29 | EN Tools |