Commit 9b50c067 authored by Daniel Brown's avatar Daniel Brown

adding in changes to change into A.B.C versioning. The - added by git describe...

adding in changes to change into A.B.C versioning. The - added by git describe is now changed into a period
parent e3ace5a1
......@@ -207,9 +207,9 @@ PREREQS += $(OBJECTS)
# determine short SHA of git commit
#GIT_SHA_CMD = $(GIT) rev-parse --verify HEAD --short
GIT_SHA_CMD = $(GIT) describe --long
GIT_SHA_CMD = $(GIT) describe --long | awk '{ sub("-",".",$0)}1'
GIT_SHA = $(shell $(GIT_SHA_CMD))
GIT_VER_CMD = $(GIT) describe --abbrev=0
GIT_VER_CMD = $(GIT) describe --long | awk '{ sub("-",".",$0)}1' | cut -d- -f1
GIT_VERSION = $(shell $(GIT_VER_CMD))
# the default target
default: kat
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment