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 file types are recognized:
The following files types are generated by build.www.mk:
The LANGUAGES variable specifies a list of languages in which the documents specified in HTML are available. Since the 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.