summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorTom Cosgrove <tom@cvs.openbsd.org>2004-06-24 18:27:46 +0000
committerTom Cosgrove <tom@cvs.openbsd.org>2004-06-24 18:27:46 +0000
commitf9abc6bd91e2ed7ecc768b17e9af5dacf5e6be7e (patch)
treedb4897e951b33e5f099e4e5fcd60a99b2e385f28 /etc
parenta9159e0f7c544774dbdd3cd57c130c2b03b5257e (diff)
Add genericstable to the list of databases we can create automatically.
"looks fine" millert@
Diffstat (limited to 'etc')
-rw-r--r--etc/mail/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/mail/Makefile b/etc/mail/Makefile
index 38a85355b9b..646c6a542c0 100644
--- a/etc/mail/Makefile
+++ b/etc/mail/Makefile
@@ -1,11 +1,11 @@
-# $OpenBSD: Makefile,v 1.2 2003/09/25 15:34:25 millert Exp $
+# $OpenBSD: Makefile,v 1.3 2004/06/24 18:27:45 tom Exp $
#
# Generate the various .db versions from their source files.
# The sendmail .mc files are not built here. They live in
# /usr/share/sendmail/cf and have their own Makefile.
#
-.for DB in access aliases mailertable virtusertable userdb
+.for DB in access aliases genericstable mailertable virtusertable userdb
. if exists(${DB})
DB_FILES+= ${DB}.db
. endif
@@ -51,6 +51,9 @@ access.db: access
aliases.db: aliases
sendmail -bi
+genericstable.db: genericstable
+ makemap hash ${.ALLSRC} < ${.ALLSRC}
+
mailertable.db: mailertable
makemap hash ${.ALLSRC} < ${.ALLSRC}