]> git.ipfire.org Git - thirdparty/automake.git/commit
dist: add dist-zstd option
authorGiuseppe Scrivano <gscrivan@redhat.com>
Fri, 4 Oct 2019 14:39:24 +0000 (16:39 +0200)
committerJim Meyering <meyering@fb.com>
Sun, 17 Nov 2019 15:23:00 +0000 (07:23 -0800)
commit5c466eafa75dfa34ff63642d8762efab8c115a2d
tree9e4d5aeaff564db40ad2bb5ac76f5d9a52858f69
parentd010f76f6b7c8c5fd78099db530126748e04a738
dist: add dist-zstd option

Add support for using the zstd compression algorithm.
Use a default compression setting of -19, and ".zst" as the suffix.

* bin/automake.in (handle_dist): Add zstd to the list of known dist-
suffixes.
(preprocess_file): Map ZSTD to dist-zstd.
* doc/automake.texi: Document the new option.
* lib/Automake/Options.pm (_is_valid_easy_option): Add dist-zstd.
* lib/am/distdir.am (dist-zstd): New rule.
(?ZSTD?DIST_TARGETS): Add definition.
(distcheck): Add a case for *.tar.zst*.
* t/dist-formats.tap: Add tests.
* NEWS: Mention the change.
NEWS
bin/automake.in
doc/automake.texi
lib/Automake/Options.pm
lib/am/distdir.am
t/dist-formats.tap