summaryrefslogtreecommitdiff
path: root/usr.bin/locate
diff options
context:
space:
mode:
authormichaels <michaels@cvs.openbsd.org>1996-08-17 10:51:27 +0000
committermichaels <michaels@cvs.openbsd.org>1996-08-17 10:51:27 +0000
commit2bc4ea928c8a660dd7624ddc91798dd7e1fd44aa (patch)
tree1f4b2fa81782ac1bc4da656b9196601a6cf9d30e /usr.bin/locate
parentfee379525237585cdbd6b809245a80b6c3ec85b5 (diff)
++argv
Diffstat (limited to 'usr.bin/locate')
-rw-r--r--usr.bin/locate/bigram/Makefile5
-rw-r--r--usr.bin/locate/code/Makefile5
-rw-r--r--usr.bin/locate/locate/Makefile10
3 files changed, 12 insertions, 8 deletions
diff --git a/usr.bin/locate/bigram/Makefile b/usr.bin/locate/bigram/Makefile
index afa8faffd80..9b7ee84c69a 100644
--- a/usr.bin/locate/bigram/Makefile
+++ b/usr.bin/locate/bigram/Makefile
@@ -1,10 +1,11 @@
-# $OpenBSD: Makefile,v 1.4 1996/08/17 04:45:38 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 1996/08/17 10:51:21 michaels Exp $
#
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= locate.bigram
NOMAN= noman
-BINDIR= /usr/libexec
+BINDIR= ${LIBEXECDIR}
CFLAGS+= -I${.CURDIR}/../locate
+.include "../Makefile.inc"
.include <bsd.prog.mk>
diff --git a/usr.bin/locate/code/Makefile b/usr.bin/locate/code/Makefile
index 20d0a33884d..9c7d3481578 100644
--- a/usr.bin/locate/code/Makefile
+++ b/usr.bin/locate/code/Makefile
@@ -1,10 +1,11 @@
-# $OpenBSD: Makefile,v 1.4 1996/08/17 04:45:39 deraadt Exp $
+# $OpenBSD: Makefile,v 1.5 1996/08/17 10:51:25 michaels Exp $
#
# @(#)Makefile 8.1 (Berkeley) 6/6/93
PROG= locate.code
CFLAGS+= -I${.CURDIR}/../locate
NOMAN= noman
-BINDIR= /usr/libexec
+BINDIR= ${LIBEXECDIR}
+.include "../Makefile.inc"
.include <bsd.prog.mk>
diff --git a/usr.bin/locate/locate/Makefile b/usr.bin/locate/locate/Makefile
index 20d8d374bd8..9db3002e789 100644
--- a/usr.bin/locate/locate/Makefile
+++ b/usr.bin/locate/locate/Makefile
@@ -1,18 +1,20 @@
-# $OpenBSD: Makefile,v 1.5 1996/08/17 09:37:45 michaels Exp $
+# $OpenBSD: Makefile,v 1.6 1996/08/17 10:51:26 michaels Exp $
#
# @(#)Makefile 8.1 (Berkeley) 6/6/93
-# $Id: Makefile,v 1.5 1996/08/17 09:37:45 michaels Exp $
+# $Id: Makefile,v 1.6 1996/08/17 10:51:26 michaels Exp $
+
PROG= locate
MAN= locate.1 locate.updatedb.8
SCRIPTS= updatedb mklocatedb concatdb
MLINKS+= locate.updatedb.8 updatedb.8
-LIBEXECDIR=/usr/libexec
beforeinstall:
-@for i in $(SCRIPTS); do \
install -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/$$i.csh ${DESTDIR}${LIBEXECDIR}/locate.$$i; \
+ ${.CURDIR}/$$i.sh ${DESTDIR}${LIBEXECDIR}/locate.$$i; \
done
+.include "../Makefile.inc"
+.include "../../Makefile.inc"
.include <bsd.prog.mk>