summaryrefslogtreecommitdiff
path: root/distrib/sets/Makefile
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2014-07-09 19:23:29 +0000
committerMarc Espie <espie@cvs.openbsd.org>2014-07-09 19:23:29 +0000
commitee5ab095e096a7910804f90b565dac8cceb22023 (patch)
treecb96d8dee95ee1eba627b2393670a3edc2578dce /distrib/sets/Makefile
parent7a4a8ea771759c07efd8f5e2381ab4240e980340 (diff)
do locatedb as part of the build process
"works for me" deraadt@
Diffstat (limited to 'distrib/sets/Makefile')
-rw-r--r--distrib/sets/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/distrib/sets/Makefile b/distrib/sets/Makefile
new file mode 100644
index 00000000000..24995cd0c6a
--- /dev/null
+++ b/distrib/sets/Makefile
@@ -0,0 +1,8 @@
+# $OpenBSD: Makefile,v 1.1 2014/07/09 19:23:28 espie Exp $
+
+DB = /usr/lib/locate/src.db
+
+makedb:
+ /bin/sh ${.CURDIR}/makelocatedb ${OSrev} >${DESTDIR}${DB}
+
+.PHONY: makedb