X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=gnulib-tool;fp=gnulib-tool;h=84be8a713d0f1cb539c9e006f232fc33da3337c1;hb=62b20a6fa6e36db65d2062e35fab084441de007d;hp=4b0df9f910704a5887c0881b098d3b5c4bb9c64f;hpb=5556cec1e3f87122e1b0e7bf82f1f75c57219a21;p=gnulib.git diff --git a/gnulib-tool b/gnulib-tool index 4b0df9f91..84be8a713 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -323,12 +323,13 @@ q version=' '`cd "$gnulib_dir" && ./build-aux/git-version-gen /dev/null | sed -e 's/-dirty/-modified/'` else # gnulib copy without versioning information. - date=`sed -e 's/ .*//;q' "$gnulib_dir"/ChangeLog` - version= + date=`zcat /usr/share/doc/gnulib/changelog.gz | sed -e 's/ .*//;q'` + version=`zcat /usr/share/doc/gnulib/NEWS.stable.gz | grep -o -m 1 ' [0-9]\+-stable'` + debversion=`dpkg-query --show --showformat '${Version}' gnulib` fi year=`"$gnulib_dir"/build-aux/mdate-sh "$self_abspathname" | sed -e 's,^.* ,,'` echo "\ -gnulib-tool (GNU $package $date)$version +gnulib-tool (GNU $package $date)$version Debian: $debversion Copyright (C) $year Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it.