[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

5. Invoking autogen

AutoGen creates text files from templates using external definitions. AutoGen is a tool designed for generating program files that contain repetitive text with varied substitutions.

The definitions (<def-file>) can be specified with the definitions option or as the command argument, but not both. Omitting it or specifying - will result in reading definitions from standard input.

The output file names are based on the template, but generally use the base name of the definition file. If standard in is read for the definitions, then stdin will be used for that base name. The suffixes to the base name are gotten from the template. However, the template file may specify the entire output file name. The generated files are always created in the current directory. If you need to place output in an alternate directory, cd to that directory and use the --templ_dirs option to search the original directory.

loop-limit is used in debugging to stop runaway expansions.

This chapter was generated by AutoGen, using the agtexi-cmd template and the option descriptions for the autogen program.

This software is released under the GNU General Public License.


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

This document was generated by Bruce Korb on March 7, 2011 using texi2html 1.82.

Viewable With Any Browser   autogen Home