From f0272d58d4fb154846b5f4644a1601e4c7fbedce Mon Sep 17 00:00:00 2001 From: Miro Stauder Date: Fri, 4 Mar 2022 21:50:12 +0100 Subject: [PATCH] avoid fail on empty git describe --- Makefile | 3 ++- lib/Makefile | 3 ++- src/Makefile | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index d98231235..0afae4dfd 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,8 @@ ifndef GIT_VERSION GIT_VERSION := $(shell git describe --long --abbrev=7) ifndef GIT_VERSION -$(error GIT_VERSION is not set) +#$(error GIT_VERSION is not set) +GIT_VERSION := 2.2.0 endif endif diff --git a/lib/Makefile b/lib/Makefile index bb28b7ddf..9a0c0999e 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -1,7 +1,8 @@ ifndef GIT_VERSION GIT_VERSION := $(shell git describe --long --abbrev=7) ifndef GIT_VERSION -$(error GIT_VERSION is not set) +#$(error GIT_VERSION is not set) +GIT_VERSION := 2.2.0 endif endif diff --git a/src/Makefile b/src/Makefile index 14caadcf0..384c0ba6f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,7 +1,8 @@ ifndef GIT_VERSION GIT_VERSION := $(shell git describe --long --abbrev=7) ifndef GIT_VERSION -$(error GIT_VERSION is not set) +#$(error GIT_VERSION is not set) +GIT_VERSION := 2.2.0 endif endif