The build process has several modes of operation, and they all relate to
the handling of files that are to be added to the repository or
performing certain sanity checks at build time. The variables are
specified on the command line, after make, in the form
VARIABLE=value, e.g. make VCS=yes. In the future,
additional features will be implemented in a similar fashion.
VCS entirely; there is no special code
that expects assigning the value `no'.
template-files variable.
cvs|svn commit) in the repository. Assigning this value
enables additional check and forcefully adds all files. Use it
sparingly, since it is very slow and generally less reliable.
Articles defined in the variable no-validate-articles are never
checked for HTML validity. Its purpose is to skip validation of HTML 5
articles, until the command-line validation tools are updated to parse
files that comply with this new standard. Use it sparingly, since this
may lead to other errors.
devel-addr, web-addr and transl-addr control the
recipients; normally they should be set to the GNUN
maintainers, webmasters and translators accordingly.
templates-translated,
home-translated, ALL_POTS, articles-translated and
gnunews will be printed to the standard output. This is off by
default, but recommended in general since it will show a bug in the
computation of the basic variables.
no-grace-articles.
report
target, and is mandatory for it. See report.
Note that VCS=yes,always is a valid combination: because POT
files of the server templates are not handled by always, running
the build this way will commit any newly added files as specified in
TEMPLATE_LINGUAS and will perform additional check at the end,
cvs|svn add-ing all necessary files.
When validation is enabled (i.e. with VALIDATE=yes), the
original English articles are validated first, before any commands
that generate the other files, and make exits with an error
on the first encountered article. This is done on purpose, to prevent
the propagation of an eventual error in the markup of the original
article to all translations.
By contrast, validation of the translated .lang.html is
performed after it is generated and if VCS=yes the article will
be committed in the repository. The build will fail again and further
processing of the remaining articles will not be performed, but this
particular translation will be installed. The translator has time
until the next run to fix the error—usually by modifying the
corresponding .lang.po file.
If notification is enabled (NOTIFY=yes), and the build system
encounters errors (mostly when validating articles), email messages
will be sent to the party that is expected to fix the error. The
subject of the messages always include the problematic article, for
example:
Subject: [GNUN Error] gnu/gnu.fa.html is not valid XHTML