Mercurial > hg > octave-nkf > gnulib-hg
changeset 12902:74f6f4021fe0
bootstrap, git-version-gen: use timestamp
Timestamps are useful, particularly for files copied into other
packages, to see how long since a file has forked.
* build-aux/git-version-gen (scriptversion): Force UTC.
* build-aux/bootstrap (scriptversion): New variable.
Signed-off-by: Eric Blake <eblake@redhat.com>
author | Eric Blake <eblake@redhat.com> |
---|---|
date | Wed, 24 Feb 2010 10:25:56 -0700 |
parents | f50d0a06e764 |
children | 82f649e8c371 |
files | ChangeLog build-aux/bootstrap build-aux/git-version-gen |
diffstat | 3 files changed, 17 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-02-24 Eric Blake <eblake@redhat.com> + bootstrap, git-version-gen: use timestamp + * build-aux/git-version-gen (scriptversion): Force UTC. + * build-aux/bootstrap (scriptversion): New variable. + bootstrap: allow older git * build-aux/bootstrap (GNULIB_SRCDIR): Add fallback if git is older than 1.6.4. Requested by the libvirt project.
--- a/build-aux/bootstrap +++ b/build-aux/bootstrap @@ -1,4 +1,6 @@ #! /bin/sh +# Print a version string. +scriptversion=2010-02-24.17; # UTC # Bootstrap this package from checked-out sources. @@ -841,3 +843,11 @@ bootstrap_epilogue echo "$0: done. Now you can run './configure'." + +# Local variables: +# eval: (add-hook 'write-file-hooks 'time-stamp) +# time-stamp-start: "scriptversion=" +# time-stamp-format: "%:y-%02m-%02d.%02H" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" +# End:
--- a/build-aux/git-version-gen +++ b/build-aux/git-version-gen @@ -1,6 +1,6 @@ #!/bin/sh # Print a version string. -scriptversion=2010-01-27.16 +scriptversion=2010-02-24.17; # UTC # Copyright (C) 2007-2010 Free Software Foundation, Inc. # @@ -146,5 +146,6 @@ # eval: (add-hook 'write-file-hooks 'time-stamp) # time-stamp-start: "scriptversion=" # time-stamp-format: "%:y-%02m-%02d.%02H" -# time-stamp-end: "$" +# time-stamp-time-zone: "UTC" +# time-stamp-end: "; # UTC" # End: