Merge branch 'deprecate-lzma' into maint
authorStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 1 Jan 2012 09:39:10 +0000 (10:39 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 1 Jan 2012 09:39:10 +0000 (10:39 +0100)
* deprecate-lzma:
  dist: obsolete support for lzma (superseded by xz and lzip)

1  2 
NEWS
doc/automake.texi
lib/Automake/Options.pm

diff --cc NEWS
Simple merge
@@@ -8666,16 -8666,11 +8666,16 @@@ environment variable.  For example, @sa
  Generate a gzip tar archive of the distribution.
  @trindex dist-gzip
  
 +@item @code{dist-lzip}
 +Generate a @samp{lzip} tar archive of the distribution.  @command{lzip}
 +archives are frequently smaller than @command{bzip2}-compressed archives.
 +@trindex dist-lzip
 +
  @item @code{dist-lzma}
- Generate an @samp{lzma} tar archive of the distribution.  @command{lzma}
- archives are frequently smaller than @command{bzip2}-compressed archives.
+ Generate an @samp{lzma} tar archive of the distribution.
  The @samp{lzma} format is obsolete, you should use the @samp{xz} format
- instead.
+ instead. @emph{Support for @samp{lzma}-compressed archives will be
+ removed in the next major Automake release.}
  @trindex dist-lzma
  
  @item @code{dist-shar}
@@@ -264,7 -272,7 +272,7 @@@ sub _process_option_list (\%$@
        elsif ($_ eq 'no-installman' || $_ eq 'no-installinfo'
             || $_ eq 'dist-shar' || $_ eq 'dist-zip'
             || $_ eq 'dist-tarZ' || $_ eq 'dist-bzip2'
-            || $_ eq 'dist-lzip' || $_ eq 'dist-lzma' || $_ eq 'dist-xz'
 -           || $_ eq 'dist-xz'
++           || $_ eq 'dist-lzip' || $_ eq 'dist-xz'
             || $_ eq 'no-dist-gzip' || $_ eq 'no-dist'
             || $_ eq 'dejagnu' || $_ eq 'no-texinfo.tex'
             || $_ eq 'readme-alpha' || $_ eq 'check-news'