]> git.ipfire.org Git - thirdparty/automake.git/commit
[ng] dist: refactor handling of dist formats a little
authorStefano Lattarini <stefano.lattarini@gmail.com>
Fri, 10 Aug 2012 23:41:26 +0000 (01:41 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sat, 11 Aug 2012 00:00:06 +0000 (02:00 +0200)
commit9c12e9b5a6ed5b004232f540443ca40f7731c70e
tree6159585ac1a0a624b933b5365b021cf896fef0f8
parent675daed05f1d373855f578f0f9c3c0d025184eec
[ng] dist: refactor handling of dist formats a little

* automake.in (handle_dist): Define list of default dist formats in the
new internal make variable 'am.dist.formats'.  Related adjustments.
(preprocess_file): Drop the following now-unused transforms: XZ, LZMA,
LZIP, BZIP2, COMPRESS, GZIP, SHAR, ZIP.
* lib/am/distdir.am: Drop any use of the removed transforms, throughout.
(DIST_TARGETS): Redefine in function of '$(am.dist.formats)'.
(.PHONY): Update in function of '$(am.dist.formats)'.
(am.dist.ext.gzip, am.dist.ext.bzip2, am.dist.ext.xz, am.dist.ext.lzip,
am.dist.ext.tarZ, am.dist.ext.shar, am.dist.ext.zip): New internal
variables.
(DIST_ARCHIVES): Redefine in function of them and of '$(am.dist.formats)'.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
automake.in
lib/am/distdir.am