diff --git a/Makefile b/Makefile index 35bb10271..316a52195 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ include config.mk VERSION := "1.10.0-non-git" ifneq ($(wildcard ./.git/),) -VERSION := $(shell ${GIT} describe --tags) +VERSION := $(shell ${GIT}x describe --tags 2>/dev/null || echo ${VERSION}) endif SYSTEMD ?= $(shell $(PKG_CONFIG) --silence-errors ${SYSTEMDAEMON} || echo 0)