Code Review
/
src
/
xds
/
xds-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
|
inline
| side by side (parent:
b677033
)
Always set sub-version
author
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Mon, 6 Nov 2017 14:20:23 +0000
(15:20 +0100)
committer
Sebastien Douheret
<sebastien.douheret@iot.bzh>
Mon, 6 Nov 2017 15:00:04 +0000
(16:00 +0100)
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
8b190c8
..
8eacc1f
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-12,6
+12,9
@@
SUB_VERSION := $(subst $(VERSION)-,,$(GIT_DESC))
ifeq ($(VERSION), )
VERSION := unknown-dev
endif
ifeq ($(VERSION), )
VERSION := unknown-dev
endif
+ifeq ($(SUB_VERSION), )
+ SUB_VERSION := $(shell date +'%Y-%m-%d_%H%M%S')
+endif
# for backward compatibility
ifneq ($(origin INSTALL_DIR), undefined)
# for backward compatibility
ifneq ($(origin INSTALL_DIR), undefined)