changeset 10859:82a95524822c

announce-gen (get_tool_versions): Accept .xz tarballs.
author Jim Meyering <meyering@redhat.com>
date Tue, 02 Dec 2008 17:29:25 +0100
parents fbae6908522f
children b3848f51fa0e
files ChangeLog build-aux/announce-gen
diffstat 2 files changed, 9 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-08  Jim Meyering  <meyering@redhat.com>
+
+	* build-aux/announce-gen (get_tool_versions): Accept .xz tarballs.
+
 2008-12-07  Bruno Haible  <bruno@clisp.org>
 
 	* tests/test-lock.c (test_lock, test_rwlock, test_recursive_lock,
--- a/build-aux/announce-gen
+++ b/build-aux/announce-gen
@@ -1,7 +1,7 @@
 #!/usr/bin/perl -w
 # Generate a release announcement message.
 
-my $VERSION = '2008-10-10 05:12'; # UTC
+my $VERSION = '2008-12-02 16:28'; # UTC
 # The definition above must lie within the first 8 lines in order
 # for the Emacs time-stamp write hook (at end) to update it.
 # If you change this file with Emacs, please let the write hook
@@ -429,11 +429,13 @@
   my $tgz = "$my_distdir.tar.gz";
   my $tbz = "$my_distdir.tar.bz2";
   my $lzma = "$my_distdir.tar.lzma";
+  my $xz = "$my_distdir.tar.xz";
+
   my $xd = "$package_name-$prev_version-$curr_version.xdelta";
 
-  my @tarballs = grep {-f $_} ($tgz, $tbz, $lzma);
+  my @tarballs = grep {-f $_} ($tgz, $tbz, $lzma, $xz);
   @tarballs
-    or die "$ME: none of $tgz, $tbz, or $lzma were found\n";
+    or die "$ME: none of $tgz, $tbz, $lzma or $xz were found\n";
   my @sizable = @tarballs;
   -f $xd
     and push @sizable, $xd;