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