Build a distribution. Should only be used by the module maintainer.
If there is a MANIFEST file, then the list of files to include is
taken from this file. Otherwise the tarball contains all source files,
plus MakeMaker.wml, Makefile.wml, shtool and README if these
files exist.
To build the Makefile, all targets are put in separate buffers during
pass 3, and those buffers are diverted by pass 5. You can override this
defaukt target by redefining buffer contents.
Buffer names are explicit:
List of modules to build and install. This is a space separated list of
filenames. Modules should reside in a sub-directory to be compliant with
actual file hierarchy. For instance, the declaration
modules="math/log.tmpl math/exp.tmpl"
tells that after compilation, there are two modules which are
math/log.tmpl and math/exp.tmpl. This modules will be installed to
LibDir/include/math/log.tmpl and LibDir/include/math/exp.tmpl.
These modules will then be called in a WML file by
Source files for these modules are obtained by replacing the suffix by
.src.
Space separated list of files to include in a distribution. By default,
all source files plus MakeMaker.wml, Makefile.wml, README and
shtool are included in a distribution.
This will build the tmpl::math::log include module from the
math/log.exp source file. This source file will also produce the
tmpl::math::log(3) manpage.
Please do _not_ use a .wml suffix for your modules, they should be reserved
for official WML modules shipped with WML. You may instead put your initials or
anything else.