summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichaels <michaels@openbsd.org>1996-08-17 10:51:21 +0000
committermichaels <michaels@openbsd.org>1996-08-17 10:51:21 +0000
commit0926b890da25597db6099fc160af513dfeb6540b (patch)
treed012ca4ce444a64ad049142e1f2ada9a4ee9a214
parentargv. (diff)
downloadwireguard-openbsd-0926b890da25597db6099fc160af513dfeb6540b.tar.xz
wireguard-openbsd-0926b890da25597db6099fc160af513dfeb6540b.zip
++argv
-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>