Mercurial > hg > octave-shane > gnulib-hg
changeset 10619:73ac6a6d08a9
Improve announce-gen user messages.
author | Ben Pfaff <blp@cs.stanford.edu> |
---|---|
date | Thu, 09 Oct 2008 22:12:51 -0700 |
parents | dd1bb60fdc2a |
children | 43de0aaeccb6 |
files | ChangeLog build-aux/announce-gen |
diffstat | 2 files changed, 13 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-09 Ben Pfaff <blp@gnu.org> + + * build-aux/announce-gen: Fix gnulib version related part of usage + message. Die with a useful error message if no tarballs are + found. + 2008-10-10 Jim Meyering <meyering@redhat.com> bootstrap: use git's --depth=N option only if it's supported
--- 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-06-02 08:18'; # UTC +my $VERSION = '2008-10-10 05:12'; # 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 @@ -92,10 +92,10 @@ --news=NEWS_FILE --bootstrap-tools=TOOL_LIST a comma-separated list of tools, e.g., autoconf,automake,bison,gnulib - --gnulib-snapshot-date=DATE if gnulib is in the bootstrap tool list, - then report this as the snapshot date. - If not specified, use the current date/time. - If you specify a date here, be sure it is UTC. + --gnulib-version=VERSION report VERSION as the gnulib version, where + VERSION is the result of running git describe + in the gnulib source directory. + required if gnulib is in TOOL_LIST. --help display this help and exit --version output version information and exit @@ -432,6 +432,8 @@ my $xd = "$package_name-$prev_version-$curr_version.xdelta"; my @tarballs = grep {-f $_} ($tgz, $tbz, $lzma); + @tarballs + or die "$ME: none of $tgz, $tbz, or $lzma were found\n"; my @sizable = @tarballs; -f $xd and push @sizable, $xd;