X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=Makefile;h=18638c60a1771f1963e596024a8a59fe676fc132;hb=d96e5b59d352f1c9eaf73a13d5c4bc25c6a4ebc4;hp=51e17952643ba7310e1e49a1eb337a79c5db4391;hpb=57670b6f5a8e98c80670b0627bfad7dec7085f54;p=src%2Fxds%2Fxds-agent.git 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)