Code Review
/
src
/
xds
/
xds-cli.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
0df439b
)
Fixed version setting.
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Mon, 6 Nov 2017 16:35:13 +0000
(17:35 +0100)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Mon, 6 Nov 2017 16:35:13 +0000
(17:35 +0100)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
ef2644d
..
c39329c
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,13
+1,13
@@
# Makefile used to build xds-cli commands
-# Application
Version
+# Application
Name
TARGET=xds-cli
# Retrieve git tag/commit to set version & sub-version strings
GIT_DESC := $(shell git describe --always --tags)
VERSION := $(firstword $(subst -, ,$(GIT_DESC)))
-SUB_VERSION := $(
wordlist 2,3,$(subst -, ,$(GIT_DESC)
))
+SUB_VERSION := $(
subst $(VERSION)-,,$(GIT_DESC
))
ifeq ($(VERSION), )
VERSION := unknown-dev
endif