diff --git a/Makefile b/Makefile index f73e5ee5d..5d2489e3d 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ # Global vars ############################# PROJECT_NAME := $(shell basename $(shell pwd)) -PROJECT_VER := $(shell git describe --tags --always --dirty | sed -e '/^v/s/^v\(.*\)$$/\1/g') # Strip leading 'v' if found +PROJECT_VER ?= $(shell git describe --tags --always --dirty | sed -e '/^v/s/^v\(.*\)$$/\1/g') # Strip leading 'v' if found # Last released version (not dirty PROJECT_VER_TAGGED := $(shell git describe --tags --always --abbrev=0 | sed -e '/^v/s/^v\(.*\)$$/\1/g') # Strip leading 'v' if found SRCDIR ?= .