summaryrefslogtreecommitdiffstats
path: root/usr.bin/locate
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-04-07 11:21:35 +0000
committerru <ru@FreeBSD.org>2001-04-07 11:21:35 +0000
commitef2dbc1fb0d429e26f0e990ddbb21ce322ef8d27 (patch)
tree056ad459e7adb0894bcede2c9ae571d853f222f1 /usr.bin/locate
parent06174de8ff77027561ef0e58b4ba7aa59799f6c0 (diff)
downloadFreeBSD-src-ef2dbc1fb0d429e26f0e990ddbb21ce322ef8d27.zip
FreeBSD-src-ef2dbc1fb0d429e26f0e990ddbb21ce322ef8d27.tar.gz
beforeinstall -> SCRIPTS.
Diffstat (limited to 'usr.bin/locate')
-rw-r--r--usr.bin/locate/locate/Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/usr.bin/locate/locate/Makefile b/usr.bin/locate/locate/Makefile
index 512c217..37058a0 100644
--- a/usr.bin/locate/locate/Makefile
+++ b/usr.bin/locate/locate/Makefile
@@ -4,16 +4,14 @@
PROG= locate
SRCS= util.c locate.c
CFLAGS+= -I${.CURDIR} -DMMAP # -DDEBUG (print time) -O2 (10% faster)
+SCRIPTS=updatedb.sh mklocatedb.sh concatdb.sh
MAN= locate.1 locate.updatedb.8
-SCRIPTS= updatedb mklocatedb concatdb
-MLINKS+= locate.updatedb.8 updatedb.8
-
-beforeinstall:
+SCRIPTSDIR= ${LIBEXECDIR}
.for script in ${SCRIPTS}
- ${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
- ${.CURDIR}/${script}.sh ${DESTDIR}${LIBEXECDIR}/locate.${script}
+SCRIPTSNAME_${script}= locate.${script:R}
.endfor
+MLINKS+= locate.updatedb.8 updatedb.8
# only /usr/src/etc/Makefile install files in /etc
# ${INSTALL} -c -o root -g wheel -m 644 \
OpenPOWER on IntegriCloud