From 72f3969eeb71af69b5d97381fd4789c0ba375296 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 6 Nov 2017 15:20:23 +0100 Subject: [PATCH] Always set sub-version Signed-off-by: Sebastien Douheret --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 8b190c8..8eacc1f 100644 --- a/Makefile +++ b/Makefile @@ -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) -- 2.16.6