[git] GCRYPT - branch, master, updated. post-nuke-of-trailing-ws-18-gbf823c5

by Werner Koch cvs at cvs.gnupg.org
Tue Mar 8 14:21:20 CET 2011


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU crypto library".

The branch, master has been updated
       via  bf823c5acb713488771c9000242b36ab13649da4 (commit)
      from  e7f33df5e5b102f3c07a6dac1bfd1376f4f9267b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit bf823c5acb713488771c9000242b36ab13649da4
Author: Werner Koch <wk at gnupg.org>
Date:   Tue Mar 8 13:56:49 2011 +0100

    Shorten BUILD_REVISION macro

diff --git a/ChangeLog b/ChangeLog
index e499f15..c72b1c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2011-03-08  Werner Koch  <wk at g10code.com>
+
+	* configure.ac (BUILD_REVISION): Use new git_brevis macro.
+
 2011-02-23  Werner Koch  <wk at g10code.com>
 
 	* configure.ac (LIBGCRYPT_CONFIG_HOST): New.
diff --git a/configure.ac b/configure.ac
index 618a5ee..f9e3593 100644
--- a/configure.ac
+++ b/configure.ac
@@ -55,7 +55,8 @@ LIBGCRYPT_CONFIG_API_VERSION=1
 NEED_GPG_ERROR_VERSION=1.8
 
 is_development_version=my_issvn
-BUILD_REVISION=m4_if(git_revision,[],[svn_revision],[git_revision])
+m4_define([git_brevis],m4_esyscmd(printf "%u" 0x[]m4_substr(git_revision,0,4)))
+BUILD_REVISION=m4_if(git_revision,[],[svn_revision],[git_brevis])
 PACKAGE=$PACKAGE_NAME
 VERSION=$PACKAGE_VERSION
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog    |    4 ++++
 configure.ac |    3 ++-
 2 files changed, 6 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
The GNU crypto library
http://git.gnupg.org




More information about the Gnupg-commits mailing list