Node:Build script, Next:, Previous:Running Transbuild, Up:Reference



Build script

The build script is the configuration file which controls the operation of Transbuild. It defines the processing rules, and can also specify the location of the source and target trees.

For precise details about the build script format, see the annotated DTD at the end of this document.

A build script consists of a list of rules. When a source file is processed, the rules are searched from the beginning of the build script until a matching rule is found. The match is performed on matching the suffix of the filename. The target file that will be generated will be in the corresponding subdirectory in the target tree, with a filename that is formed by removing the matching suffix string and appending a target suffix string. An error is raised if a file does not match any rule in the build script.