summaryrefslogtreecommitdiffstats
path: root/inc
diff options
context:
space:
mode:
authorManuel Bentele2021-03-17 09:04:04 +0100
committerManuel Bentele2021-03-17 09:04:04 +0100
commit6a047088cb26248ec783713bb94925638aad8552 (patch)
tree2f4259161cacd3f9e50f99cc4fd7cb5600f4dd6b /inc
parent[KERNEL] Enable assertions if CONFIG_DEBUG_DRIVER is set (diff)
downloaddnbd3-6a047088cb26248ec783713bb94925638aad8552.tar.gz
dnbd3-6a047088cb26248ec783713bb94925638aad8552.tar.xz
dnbd3-6a047088cb26248ec783713bb94925638aad8552.zip
[BUILD] Fix build issue if version information (Git tag) is missing
The software version for packaging purposes is consituted from the following rules: - If the version information (from Git tags or the embedded version header file) is available, the version number for the packaging is set to those found version information. - If there isn't any version information available (e.g. missing Git tags), the version number for the packaging is set to '0.0' to represent an unkown version number.
Diffstat (limited to 'inc')
-rw-r--r--inc/dnbd3/version.h.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/inc/dnbd3/version.h.in b/inc/dnbd3/version.h.in
index a3eff45..727c8b8 100644
--- a/inc/dnbd3/version.h.in
+++ b/inc/dnbd3/version.h.in
@@ -6,7 +6,7 @@
#define VERSION_H_
#define DNBD3_VERSION "@DNBD3_VERSION@"
-#define DNBD3_BRANCH "@GIT_BRANCH@"
-#define DNBD3_VERSION_LONG "@GIT_VERSION@, branch @GIT_BRANCH@"
+#define DNBD3_BRANCH "@DNBD3_BRANCH@"
+#define DNBD3_VERSION_LONG "@GIT_VERSION@, branch @DNBD3_BRANCH@"
#endif /* VERSION_H_ */