Hi,
I've just started using EPICS 3.14.6 and encountered the same problem as
Benjamin Franksen from Bessy (original tech-talk posting follows this
email).
At Diamond we use the same approach i.e. produce an expanded db file
using a substitution file and an (externally defined) template file. In
R3.13.x we used to do this by having the following lines in the
Makefile.Host file of the /Db directory:-
DB += test.db
USES_TEMPLATE += $(TEMPLATE_PATH)/test.template
This didn't seem to work in EPICS 3.14.6, due to an error in the
RULES.Db file. The following corrects this problem:-
--- RULES_Db.ori 2005-06-08 17:02:07.000000000 +0100
+++ RULES.Db 2005-06-08 17:02:37.000000000 +0100
@@ -138,5 +138,5 @@
TEMPLATE_LINKS = $(filter-out $(notdir $(USES_TEMPLATE)),
$(USES_TEMPLATE))
TEMPLATE_FILES = $(filter $(notdir $(USES_TEMPLATE)),
$(USES_TEMPLATE))
-COMMON_TEMPLATES=$(addsuffix $(COMMON_DIR)/,$(notdir
$(TEMPLATE_LINKS)))
+COMMON_TEMPLATES=$(addprefix $(COMMON_DIR)/,$(notdir
$(TEMPLATE_LINKS)))
Cheers,
Martin Norbury
Software Engineer Beamline Systems
Diamond Light Source Ltd.
Rutherford Appleton Laboratory
Chilton, Didcot.
Oxon
OX11 0QX
Tel: 44 (0) 1235 778235
Email: [email protected]