3 Invoking Autodist
The Autodist has two basic functions:
1. Preparing source tree for configuration and compilation (see Preparing source tree)
2. Creating distribution packages (see Creating distribution)
The 'autodist' accepts the following options:
- -h
- --help
- Prints the help for the Autodist and exits.
- -V
- --version
- Prints version number and exits.
- -v
- --verbose
- Verbosely report processing.
- -d
- --distdir <dir>
- Search distributions from <dir> instead of default 'distdir'.
- -s
- --distdefs [<dist>]
- Prints distribution defines of <dist> and exits.
- -i
- --init
- Initializes Autodist environment. Creates the default distribution
directory 'distdir', 'autodist.conf' configuration file and the
default distribution 'default', then exits.
- -p
- --process <type> <src> <dst>
- Process file <src> into <dst> for distribution, <type> is 'makefile',
'configure', 'non-source' or 'source' and defines the type of <src>,
then exits.
- -m
- --makedist
- Creates and packages distribution
- --gzip
- Create package compressed with gzip (default)
- --bzip2
- Create also package compressed with bzip2
- --compress
- Create also package compressed with compress
- --zip
- Create also package compressed with zip