mirror of
https://github.com/libssh2/libssh2.git
synced 2025-08-07 08:02:56 +03:00
Added LIBSSH2_TIMESTAMP to the public header and it contains the timestamp of
the making of the release archive. Added 'maketgz' as a script to build release archives with, including automated snapshots or whatever. It updates the defines in include/libssh2.h. configure now extracts the version number from the include/libssh2.h header in the source tree instead of using it fixed set in the script (to remove the need for regenerating the configure script when we run maketgz). Makefile.am now has a dist-hook that puts ".dist" files in the release tree instead of the file without the .dist extension, so that we can easily add modified files in release archives. Like maketgz.
This commit is contained in:
@@ -104,6 +104,17 @@ typedef long long libssh2_int64_t;
|
||||
*/
|
||||
#define LIBSSH2_VERSION_NUM 0x001000
|
||||
|
||||
/*
|
||||
* This is the date and time when the full source package was created. The
|
||||
* timestamp is not stored in CVS, as the timestamp is properly set in the
|
||||
* tarballs by the maketgz script.
|
||||
*
|
||||
* The format of the date should follow this template:
|
||||
*
|
||||
* "Mon Feb 12 11:35:33 UTC 2007"
|
||||
*/
|
||||
#define LIBSSH2_TIMESTAMP "CVS"
|
||||
|
||||
#define LIBSSH2_APINO 200706151200L
|
||||
|
||||
/* Part of every banner, user specified or not */
|
||||
|
Reference in New Issue
Block a user