From d96e5b59d352f1c9eaf73a13d5c4bc25c6a4ebc4 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 6 Nov 2017 15:15:36 +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 51e1795..18638c6 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 # Configurable variables for installation (default /opt/AGL/...) ifeq ($(origin DESTDIR), undefined) -- 2.16.6