Subject: confusion in automake 1.14.1
From: Aharon Robbins <[email-masked]>
To: [email-masked]
Date: Thu, 20 Feb 2014 19:57:02 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello.

Doing a dry run of moving to automake 1.14.1, I noticed the following
"improvements" in the generated Makefile.in:

diff --git a/Makefile.in b/Makefile.in
index fe921ad..1567a77 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -905,10 +905,16 @@ dist-xz: distdir
 	$(am__post_remove_distdir)
 
 dist-tarZ: distdir
+	@echo WARNING: "Support for shar distribution archives 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)
 
 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
 	shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
 	$(am__post_remove_distdir)
 
The messages are swapped.  The warning for compress occurs on the
creation of the shar archive, and the warning on the shar archive
occurs on compression with compress.

Methinks someone was working too late at night... :-)

Thanks,

Arnold