diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-11-06 15:20:23 +0100 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2017-11-06 16:00:04 +0100 |
commit | 72f3969eeb71af69b5d97381fd4789c0ba375296 (patch) | |
tree | e3f910e933550c96f0c73d33f352f6a67cbfdaa3 | |
parent | b6770332eadedf14cd9ab2e74478b5223c840767 (diff) |
Always set sub-version
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
-rw-r--r-- | Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -12,6 +12,9 @@ SUB_VERSION := $(subst $(VERSION)-,,$(GIT_DESC)) 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) |