diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-10 21:56:12 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2013-05-10 22:15:56 +0200 |
commit | 1ffdec455d35762f8bd7a75f5922679bd9f63d16 (patch) | |
tree | 00f19495d590b8b768e98f985907223389e5b682 /lib/Automake | |
parent | 0cf58ea7c1c05cdc7b6abff6edc68e934333d1e2 (diff) | |
download | automake-1ffdec455d35762f8bd7a75f5922679bd9f63d16.tar.gz |
dist: remove support for shar and tarZ formats
See also discussion about automake wishlist bug#13324.
* lib/Automake/Options.pm: Give fatal errors (rather than warnings) if
the 'dist-shar' or 'dist-tarZ' options are used.
* lib/distdir.am: Remove the 'dist-tarZ' and 'dist-shar' targets, and
references to the '.tar.Z' and '.shar' archives.
* bin/automake.in (preprocess_file): Remove 'COMPRESS' and 'SHAR'
transforms.
(handle_dist): Remove lingering references to 'dist-tarZ' and 'dist-shar'
options.
* doc/automake.texi: Adjust, removing references to the removed targets
and distribution formats.
* t/dist-shar.sh: Adjust to expect fatal errors rather than warnings.
* t/dist-tarZ.sh: Likewise.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'lib/Automake')
-rw-r--r-- | lib/Automake/Options.pm | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/lib/Automake/Options.pm b/lib/Automake/Options.pm index 737d2a170..3105b11ef 100644 --- a/lib/Automake/Options.pm +++ b/lib/Automake/Options.pm @@ -332,20 +332,18 @@ sub _process_option_list (\%@) error ($where, "support for lzma-compressed distribution " . "archives has been removed"); } - # TODO: Make this a fatal error in Automake 2.0. + # TODO: Remove this special check in Automake 3.0. elsif ($_ eq 'dist-shar') { - msg ('obsolete', $where, - "support for shar distribution archives is deprecated.\n" . - " It will be removed in Automake 2.0"); + error ($where, "support for shar distribution archives has " . + "been removed."); } - # TODO: Make this a fatal error in Automake 2.0. + # TODO: Remove this special check in Automake 3.0. elsif ($_ eq 'dist-tarZ') { - msg ('obsolete', $where, - "support for distribution archives compressed with " . - "legacy program 'compress' is deprecated.\n" . - " It will be removed in Automake 2.0"); + error ($where, "support for distribution archives compressed " . + "with legacy program 'compress' has " . + "been removed."); } elsif (/^filename-length-max=(\d+)$/) { |