summaryrefslogtreecommitdiff
path: root/usr.bin/locate
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-04-27 20:57:09 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-04-27 20:57:09 +0000
commit56a4230d7d90fb05982c3f285faf62ad514d429a (patch)
tree784f50865a80748c56258016bcdf69d47f3e35b1 /usr.bin/locate
parent5c1f80fa38ed55e3ed266e7cfbf19ea756f32b8d (diff)
COPY -> INSTALL_COPY and STRIP -> INSTALL_STRIP
This fixes namespace problems where STRIP is sometimes used as the name of the strip(1) to use and other times used as the flag to send install(1) when stripping (or not). COPY doesn't have this problem (yet) but was poorly named.
Diffstat (limited to 'usr.bin/locate')
-rw-r--r--usr.bin/locate/locate/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/locate/locate/Makefile b/usr.bin/locate/locate/Makefile
index 3548b283b73..0add831dda6 100644
--- a/usr.bin/locate/locate/Makefile
+++ b/usr.bin/locate/locate/Makefile
@@ -1,7 +1,7 @@
-# $OpenBSD: Makefile,v 1.8 1996/12/08 14:32:28 downsj Exp $
+# $OpenBSD: Makefile,v 1.9 1997/04/27 20:56:47 millert Exp $
#
# @(#)Makefile 8.1 (Berkeley) 6/6/93
-# $Id: Makefile,v 1.8 1996/12/08 14:32:28 downsj Exp $
+# $Id: Makefile,v 1.9 1997/04/27 20:56:47 millert Exp $
PROG= locate
SRCS= util.c locate.c
@@ -13,13 +13,13 @@ MLINKS+= locate.updatedb.8 updatedb.8
beforeinstall:
-@for i in ${SCRIPTS}; do \
- ${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m \
+ ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m \
${BINMODE} ${.CURDIR}/$$i.sh \
${DESTDIR}${LIBEXECDIR}/locate.$$i;\
done
# only /usr/src/etc/Makefile install files in /etc
-# ${INSTALL} ${COPY} -o root -g wheel -m 644 \
+# ${INSTALL} ${INSTALL_COPY} -o root -g wheel -m 644 \
# ${.CURDIR}/locate.rc ${DESTDIR}/etc
.include "../../Makefile.inc"