use perl instead of date in EPICS_SITE_VERSION because of Windows

This commit is contained in:
2019-09-02 10:49:44 +02:00
parent 09a17127a9
commit 8837d2f275
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -161,7 +161,7 @@ USE_POSIX_THREAD_PRIORITY_SCHEDULING = YES
# Site version number, if set will append '-' and this string to the
# EPICS version number string that is reported by many tools.
EPICS_SITE_VERSION:=$(shell date +%Y-%m)
EPICS_SITE_VERSION=$(shell $(PERL) -MPOSIX -e 'print strftime "%Y-%m-%d $(shell git describe --tags --dirty)", localtime')
# For GNU compiler, use pipes rather than temporary files for
# communication between the various stages of compilation.
@@ -1,5 +1,4 @@
INSTALL_LOCATION=/usr/local/epics/base-$(EPICS_VERSION).$(EPICS_REVISION).$(EPICS_MODIFICATION)
EPICS_SITE_VERSION:=$(shell date +%Y-%m-%d)
GNU_HOST_ARCH=i686
GNU_HOST_OS=linux