We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7c86533 + 9ee0841 commit 2cb3fccCopy full SHA for 2cb3fcc
Makefile
@@ -2,7 +2,7 @@
2
# Global vars
3
#############################
4
PROJECT_NAME := $(shell basename $(shell pwd))
5
-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
6
# Last released version (not dirty
7
PROJECT_VER_TAGGED := $(shell git describe --tags --always --abbrev=0 | sed -e '/^v/s/^v\(.*\)$$/\1/g') # Strip leading 'v' if found
8
SRCDIR ?= .
0 commit comments