From: Sebastien Douheret Date: Mon, 6 Nov 2017 14:15:36 +0000 (+0100) Subject: Always set sub-version X-Git-Tag: v1.0.0-rc1~23 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?p=src%2Fxds%2Fxds-agent.git;a=commitdiff_plain;h=d96e5b59d352f1c9eaf73a13d5c4bc25c6a4ebc4 Always set sub-version Signed-off-by: Sebastien Douheret --- 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)