| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
14.5 The Types of Distributions
Automake generates rules to provide archives of the project for distributions in various formats. Their targets are:
dist-bzip2Generate a bzip2 tar archive of the distribution. bzip2 archives are frequently smaller than gzipped archives. By default, this rule makes ‘bzip2’ use a compression option of ‘-9’. To make it use a different one, set the
BZIP2environment variable. For example, ‘make dist-bzip2 BZIP2=-7’.dist-gzipdist-lzipGenerate a ‘lzip’ tar archive of the distribution.
lziparchives are frequently smaller thanbzip2-compressed archives.dist-lzmaGenerate an ‘lzma’ tar archive of the distribution. The ‘lzma’ format is obsolete, you should use the ‘xz’ format instead. Support for ‘lzma’-compressed archives will be removed in the next major Automake release.
dist-sharGenerate a shar archive of the distribution.
dist-xzGenerate an ‘xz’ tar archive of the distribution.
xzarchives are frequently smaller thanbzip2-compressed archives. The ‘xz’ format displaces the obsolete ‘lzma’ format. By default, this rule makes ‘xz’ use a compression option of ‘-e’. To make it use a different one, set theXZ_OPTenvironment variable. For example, run this command to use the default compression ratio, but with a progress indicator: ‘make dist-xz XZ_OPT=-7e’.dist-zipdist-tarZ
The rule dist (and its historical synonym dist-all) will
create archives in all the enabled formats, Changing Automake’s Behavior. By
default, only the dist-gzip target is hooked to dist.
| [ << ] | [ < ] | [ Up ] | [ > ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated on February 3, 2012 using texi2html 5.0.
