summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Pennock <pdp@exim.org>2012-12-11 20:18:22 -0500
committerPhil Pennock <pdp@exim.org>2012-12-11 20:18:22 -0500
commite8fcf27cde9d3ae4c0147444bffa57f237fe2507 (patch)
tree8eb435dfae237b7f3e9a5db7e6b946e31b8e33ce
parent14c7b357062edf88e350fb95c06847b2c2a2b934 (diff)
downloadexim4-e8fcf27cde9d3ae4c0147444bffa57f237fe2507.tar.gz
Document scripts/lookups-Makefile for new lookups.
Missing step for adding a new lookup noticed by Paul Gamble.
-rw-r--r--doc/doc-docbook/spec.xfpt6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index b3623da57..e049936a3 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -36325,6 +36325,12 @@ Add to &_src/config.h.defaults_& the line:
Edit &_src/drtables.c_&, adding conditional code to pull in the private header
and create a table entry as is done for all the other drivers and lookup types.
.next
+Edit &_scripts/lookups-Makefile_& if this is a new lookup; there is a for-loop
+near the bottom, ranging the &`name_mod`& variable over a list of all lookups.
+Add your &`NEWDRIVER`& to that list.
+As long as the dynamic module would be named &_newdriver.so_&, you can use the
+simple form that most lookups have.
+.next
Edit &_Makefile_& in the appropriate sub-directory (&_src/routers_&,
&_src/transports_&, &_src/auths_&, or &_src/lookups_&); add a line for the new
driver or lookup type and add it to the definition of OBJ.