From 6a047088cb26248ec783713bb94925638aad8552 Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Wed, 17 Mar 2021 09:04:04 +0100 Subject: [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. --- inc/dnbd3/version.h.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc') 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_ */ -- cgit v1.2.3-55-g7522