summaryrefslogtreecommitdiff
path: root/build-aux/announce-gen
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2008-12-02 17:29:25 +0100
committerJim Meyering <meyering@redhat.com>2008-12-08 18:45:54 +0100
commit9ab3d34f0da915fe21691eeecfe4ae69ce6f61a6 (patch)
tree4082d2e3a9c34c457d44aefc096c89f64030b94c /build-aux/announce-gen
parent279193baa28766dc01c1d1f7605841cd420f6410 (diff)
downloadgnulib-9ab3d34f0da915fe21691eeecfe4ae69ce6f61a6.tar.gz
announce-gen (get_tool_versions): Accept .xz tarballs.
Diffstat (limited to 'build-aux/announce-gen')
-rwxr-xr-xbuild-aux/announce-gen8
1 files changed, 5 insertions, 3 deletions
diff --git a/build-aux/announce-gen b/build-aux/announce-gen
index 78ca62551d..d1a4b255ae 100755
--- 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 @@ sub get_tool_versions ($$)
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;