diff options
| author | Werner Koch <[email protected]> | 2012-01-19 15:04:19 +0000 | 
|---|---|---|
| committer | Werner Koch <[email protected]> | 2012-01-19 15:04:19 +0000 | 
| commit | 574b087e84f5652cf9d8eba8aa16b8d6bb988035 (patch) | |
| tree | 2f7fbff6d16d515a789fa3df5bfb7c959d7721f5 /src | |
| parent | Adjust configure.ac for modern autoconf. (diff) | |
| download | gpgme-574b087e84f5652cf9d8eba8aa16b8d6bb988035.tar.gz gpgme-574b087e84f5652cf9d8eba8aa16b8d6bb988035.zip | |
For W32 use a build number instead of abbreviated commit id.
We would need to use a shortened commit id so that it fits into an 16
bit Windows variable.  Further it is a random number and not something
increasing.  Thus a build number made up from the day of the year and
the hour is much more useful to describe a build number for a specific
revision.
* configure.ac [W32]: Replace BUILD_REVISION by BUILD_NUMBER.
* src/versioninfo.rc.in: Ditto.
Diffstat (limited to '')
| -rw-r--r-- | src/versioninfo.rc.in | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/src/versioninfo.rc.in b/src/versioninfo.rc.in index bfb652e1..9c1b4f50 100644 --- a/src/versioninfo.rc.in +++ b/src/versioninfo.rc.in @@ -1,6 +1,6 @@  /* versioninfo.rc.in - for gpgme   *    Copyright (C) 2005 g10 Code GmbH - *  + *   * This file is free software; as a special exception the author gives   * unlimited permission to copy and/or distribute it, with or without   * modifications, as long as this notice is preserved. @@ -9,7 +9,7 @@   * WITHOUT ANY WARRANTY, to the extent permitted by law; without even the   * implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.   */ -  +  /* This file is processed by configure to create versioninfo.rc */  #line __LINE__ "versioninfo.rc.in" @@ -18,7 +18,7 @@  VS_VERSION_INFO VERSIONINFO - FILEVERSION @LIBGPGME_LT_CURRENT@,@LIBGPGME_LT_AGE@,@LIBGPGME_LT_REVISION@,@BUILD_REVISION@ + FILEVERSION @LIBGPGME_LT_CURRENT@,@LIBGPGME_LT_AGE@,@LIBGPGME_LT_REVISION@,@BUILD_NUMBER@   PRODUCTVERSION @BUILD_FILEVERSION@   FILEFLAGSMASK 0x3fL  #ifdef _DEBUG @@ -37,7 +37,7 @@ BEGIN              VALUE "Comments", "Provided under the terms of the GNU Lesser General Public License.\0"              VALUE "CompanyName", "g10 Code GmbH\0"              VALUE "FileDescription", "GPGME - GnuPG Made Easy\0" -            VALUE "FileVersion", "@LIBGPGME_LT_CURRENT@.@LIBGPGME_LT_AGE@.@LIBGPGME_LT_REVISION@.@BUILD_REVISION@\0" +            VALUE "FileVersion", "@LIBGPGME_LT_CURRENT@.@LIBGPGME_LT_AGE@.@LIBGPGME_LT_REVISION@.@BUILD_NUMBER@\0"              VALUE "InternalName", "gpgme\0"              VALUE "LegalCopyright", "Copyright � 2005 g10 Code GmbH\0"              VALUE "LegalTrademarks", "\0" | 
