X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=Makefile;h=8eacc1f5e45115ad3232fb46501f7300f3cba501;hb=72f3969eeb71af69b5d97381fd4789c0ba375296;hp=8b190c8ac9f01447cce90ebe3628743221704ae0;hpb=b6770332eadedf14cd9ab2e74478b5223c840767;p=src%2Fxds%2Fxds-server.git 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)