From: Jim Meyering Date: Tue, 2 Dec 2008 16:29:25 +0000 (+0100) Subject: announce-gen (get_tool_versions): Accept .xz tarballs. X-Git-Tag: v0.1~6626 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=9ab3d34f0da915fe21691eeecfe4ae69ce6f61a6;p=gnulib.git announce-gen (get_tool_versions): Accept .xz tarballs. --- diff --git a/ChangeLog b/ChangeLog index 05a3ad5ee..323c92c53 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-12-08 Jim Meyering + + * build-aux/announce-gen (get_tool_versions): Accept .xz tarballs. + 2008-12-07 Bruno Haible * tests/test-lock.c (test_lock, test_rwlock, test_recursive_lock, diff --git a/build-aux/announce-gen b/build-aux/announce-gen index 78ca62551..d1a4b255a 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;