aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-08-29 23:45:00 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-08-29 23:45:02 +0200
commit222bd7973759fc7b01e97b5fb65b4e419d5e5de0 (patch)
tree058b58dfcaa3e70be67d8d674893beb1b83058bc /Makefile
parent21b070dd7d65cd60217e446810559ec241d0b826 (diff)
Fix subversion setting
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 190dd08..1d13554 100644
--- a/Makefile
+++ b/Makefile
@@ -15,7 +15,8 @@ ifeq ($(origin SUB_VERSION), undefined)
ifneq ($(SUB_VERSION), )
VERSION := $(firstword $(subst -, ,$(SUB_VERSION)))
SUB_VERSION := $(word 2,$(subst -, ,$(SUB_VERSION)))
- else
+ endif
+ ifeq ($(SUB_VERSION), )
SUB_VERSION := $(shell git rev-parse --short HEAD)
ifeq ($(SUB_VERSION), )
SUB_VERSION := unknown-dev