From: Aharon Robbins Date: Fri, 19 Dec 2014 10:08:15 +0000 (+0100) Subject: dist: adjust warning messages about shar and tarZ deprecation X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4410ae7f201a1e70da63b95680467223f77dffab;p=platform%2Fupstream%2Fautomake.git dist: adjust warning messages about shar and tarZ deprecation They were swapped. Reported in http://debbugs.gnu.org/19108. Signed-off-by: Stefano Lattarini --- diff --git a/lib/am/distdir.am b/lib/am/distdir.am index a8ad63cef..0c019605c 100644 --- a/lib/am/distdir.am +++ b/lib/am/distdir.am @@ -339,8 +339,8 @@ dist-xz: distdir ?COMPRESS?DIST_ARCHIVES += $(distdir).tar.Z .PHONY: dist-tarZ dist-tarZ: distdir - @echo WARNING: "Support for shar distribution archives is" \ - "deprecated." >&2 + @echo WARNING: "Support for distribution archives compressed with" \ + "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z $(am__post_remove_distdir) @@ -348,9 +348,9 @@ dist-tarZ: distdir ?SHAR?DIST_ARCHIVES += $(distdir).shar.gz .PHONY: dist-shar dist-shar: distdir - @echo WARNING: "Support for distribution archives compressed with" \ - "legacy program 'compress' is deprecated." >&2 @echo WARNING: "It will be removed altogether in Automake 2.0" >&2 + @echo WARNING: "Support for shar distribution archives is" \ + "deprecated." >&2 shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz $(am__post_remove_distdir)