build.www.mk module is used to generate a set of HTML documents in different languages
and character set variants from an HTML source file and one or more templates
m4 macro processor in conjunction with the
xsltproc XSLT processor.
The following source types are recognized:
From those sources, build.www.mk is able to generate:
LANGUAGES variable specifies a list of languages in which the documents specified in
HTML are available.
ml.xsl XSLT stylesheet is applied by default, HTML documents (usually encoded in
UTF-8) can contain multiple translations in a single file.
Language-specific parts are separated using the
<ml> tag, like so:
<ml lang="en">Hello</ml> <ml lang="fr">Bonjour</ml>
|build.www.mk first appeared in BSDBuild 1.0.
BSDBuild is based on the 4.4BSD build system.