Node:Running Transbuild, Next:Build script, Previous:Reference, Up:Reference
Transbuild processes a source tree to generate a target tree. In this document, a "tree" is a single directory and all the files and subdirectories nested under it. Directories are replicated under the target tree with the same names as it appears in the source tree. Source files are processed by rules and the results saved in files in the corresponding target directory, with a new name as defined by the rule.
The processing rules are defined in a build script file. The locations of the source tree and target tree may also be defined in the build script file.
All files and directories under the source tree are processed. There is
one exception: directories called CVS (and content under them)
are totally ignored.
Transbuild runs in two phases. In the first phase, it finds all the files in the source tree, determines which rule should be used for all of them, and examines the target tree to see which files are out-of-date and need to be rebuilt. In the second phase, missing directories are created in the target tree and then the files that need building are processed.