From 3de881e5b0633f8e03abc270da7a654ce80aa97e Mon Sep 17 00:00:00 2001
From: Simon Rose <simon.rose@ess.eu>
Date: Wed, 9 Jun 2021 09:34:06 +0200
Subject: [PATCH] Added error to stop calls to 'make db'

---
 configure/modules/RULES_E3 | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure/modules/RULES_E3 b/configure/modules/RULES_E3
index 5e708d4a..1eaeee5f 100644
--- a/configure/modules/RULES_E3
+++ b/configure/modules/RULES_E3
@@ -31,6 +31,11 @@ help:
 ## Install current module to $(EPICS_BASE)/require/$(E3_REQUIRE_VERSION)/siteMods
 install: install_module install_links
 
+db: err_no_db_rule
+
+err_no_db_rule:
+	$(error The 'db' target has been discontinued. If you have custom database expansion rule to use, please contact the e3 team)
+
 install_module: build db_internal
 	$(QUIET) $(E3_MODULE_MAKE_CMDS) install
 
-- 
GitLab