From 30e7e320d0cb039164d7ce4db209c858029ad0f4 Mon Sep 17 00:00:00 2001 From: Dirk Zimoch Date: Fri, 4 Sep 2026 11:00:33 +0200 Subject: [PATCH] move version string overrides to separate file --- configure/CONFIG_SITE | 4 +--- configure/CONFIG_SITE.local | 4 ++++ 2 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 configure/CONFIG_SITE.local diff --git a/configure/CONFIG_SITE b/configure/CONFIG_SITE index d7d869a7e..03ec6d114 100644 --- a/configure/CONFIG_SITE +++ b/configure/CONFIG_SITE @@ -157,9 +157,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. -ifeq ($(INSTALL_LOCATION),$(EPICS_BASE)) -EPICS_SITE_VERSION=$(shell $(PERL) -MPOSIX -e 'print strftime "%Y-%m-%d", localtime') -endif +EPICS_SITE_VERSION = # For GNU compiler, use pipes rather than temporary files for # communication between the various stages of compilation. diff --git a/configure/CONFIG_SITE.local b/configure/CONFIG_SITE.local new file mode 100644 index 000000000..6a9abfdda --- /dev/null +++ b/configure/CONFIG_SITE.local @@ -0,0 +1,4 @@ +# Add build date to version string +ifeq ($(INSTALL_LOCATION),$(EPICS_BASE)) +EPICS_SITE_VERSION=$(shell $(PERL) -MPOSIX -e 'print strftime "%Y-%m-%d", localtime') +endif