summaryrefslogtreecommitdiff
path: root/lib/Automake/Options.pm
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2012-01-01 10:39:10 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2012-01-01 10:39:10 +0100
commit2a461709e2be1394951a01fc9f08f6b4bacaad9b (patch)
tree5f5d66a90fac8121717367e11426dfe386c6c4a1 /lib/Automake/Options.pm
parentbbce9c2b229b4791974f0433c75b0bdd4ebc7c4e (diff)
parente637fa2a0b19cb2fd9b79f20bd46662a4ea9bcfb (diff)
downloadautomake-2a461709e2be1394951a01fc9f08f6b4bacaad9b.tar.gz
Merge branch 'deprecate-lzma' into maint
* deprecate-lzma: dist: obsolete support for lzma (superseded by xz and lzip)
Diffstat (limited to 'lib/Automake/Options.pm')
-rw-r--r--lib/Automake/Options.pm10
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/Automake/Options.pm b/lib/Automake/Options.pm
index 388d4b901..e3d23ae46 100644
--- a/lib/Automake/Options.pm
+++ b/lib/Automake/Options.pm
@@ -261,10 +261,18 @@ sub _process_option_list (\%$@)
# directory. We save the actual option for later.
$options->{'ansi2knr'} = [$_, $where];
}
+ elsif ($_ eq 'dist-lzma')
+ {
+ # Creation of distribution tarball compressed with lzma is
+ # deprecated, will be removed in the next major release.
+ msg 'obsolete', $where,
+ "lzma compression is deprecated; use `dist-xz' " .
+ "or `dist-lzip' instead\n";
+ }
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-lzip' || $_ eq 'dist-xz'
|| $_ eq 'no-dist-gzip' || $_ eq 'no-dist'
|| $_ eq 'dejagnu' || $_ eq 'no-texinfo.tex'
|| $_ eq 'readme-alpha' || $_ eq 'check-news'