diff --git a/src/Makefile b/src/Makefile index f4ca196d9..dde9eb92f 100644 --- a/src/Makefile +++ b/src/Makefile @@ -215,7 +215,7 @@ install : VERSION_MAJOR := 2 VERSION_MINOR := 0 VERSION_PATCH := 0 -EXTRAVERSION := +EXTRAVERSION := + ifneq ($(wildcard ../.git/HEAD),) GITVERSION := $(shell cat ../.git/HEAD) ifeq ($(firstword $(GITVERSION)),ref:)