diff options
author | Simon Rettberg | 2020-12-02 12:54:27 +0100 |
---|---|---|
committer | Simon Rettberg | 2020-12-02 12:54:27 +0100 |
commit | 656e776498fe862b1b388435568c5bb72213cb16 (patch) | |
tree | 855d21b40e4ccb9c07664e4922632da2a883d99d /inc | |
parent | [CLIENT] print help and version number correctly (diff) | |
download | dnbd3-656e776498fe862b1b388435568c5bb72213cb16.tar.gz dnbd3-656e776498fe862b1b388435568c5bb72213cb16.tar.xz dnbd3-656e776498fe862b1b388435568c5bb72213cb16.zip |
[BUILD] Include branch and build timestamp in binaries
Diffstat (limited to 'inc')
-rw-r--r-- | inc/dnbd3/build.h.in | 1 | ||||
-rw-r--r-- | inc/dnbd3/version.h.in | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/inc/dnbd3/build.h.in b/inc/dnbd3/build.h.in index 80537ea..062ed17 100644 --- a/inc/dnbd3/build.h.in +++ b/inc/dnbd3/build.h.in @@ -6,5 +6,6 @@ #define BUILD_H_ #define DNBD3_BUILD "@DNBD3_BUILD@" +#define DNBD3_BUILD_DATE "@DNBD3_BUILD_DATE@" #endif /* BUILD_H_ */ diff --git a/inc/dnbd3/version.h.in b/inc/dnbd3/version.h.in index 94bd2c4..a3eff45 100644 --- a/inc/dnbd3/version.h.in +++ b/inc/dnbd3/version.h.in @@ -6,5 +6,7 @@ #define VERSION_H_ #define DNBD3_VERSION "@DNBD3_VERSION@" +#define DNBD3_BRANCH "@GIT_BRANCH@" +#define DNBD3_VERSION_LONG "@GIT_VERSION@, branch @GIT_BRANCH@" #endif /* VERSION_H_ */ |