summaryrefslogtreecommitdiff
path: root/share/termtypes/Makefile
diff options
context:
space:
mode:
authorMartin Natano <natano@cvs.openbsd.org>2016-09-25 17:43:12 +0000
committerMartin Natano <natano@cvs.openbsd.org>2016-09-25 17:43:12 +0000
commit1b801bf4dedad366ed5604677b3f1eeddb9e1d2b (patch)
treee64d29d326ddb816473e32080f8aa1dfa205290f /share/termtypes/Makefile
parent8095f05028b41ecaebae2c9eb23e18bc7e94ee70 (diff)
Some ownership fixes for /usr/share/.
feedback and tweaks rpe ok tb
Diffstat (limited to 'share/termtypes/Makefile')
-rw-r--r--share/termtypes/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/share/termtypes/Makefile b/share/termtypes/Makefile
index a4df7e32450..a91a93327ed 100644
--- a/share/termtypes/Makefile
+++ b/share/termtypes/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.24 2015/12/03 11:30:46 nicm Exp $
+# $OpenBSD: Makefile,v 1.25 2016/09/25 17:43:11 natano Exp $
MAN= termcap.5
TIC= /usr/bin/tic
@@ -14,12 +14,14 @@ termcap: termtypes.master
@[ -s ${.TARGET} ] || exit 1
realinstall:
+ ${INSTALL} -d -o root -g wheel ${DESTDIR}${BINDIR}/terminfo
find terminfo -type f -exec \
${INSTALL} -D ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 \
{} ${DESTDIR}${BINDIR}/{} \;
${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 termcap \
${DESTDIR}${BINDIR}/misc/termcap
ln -fs ${BINDIR}/misc/termcap ${DESTDIR}/etc/termcap
+ chown -h root:wheel ${DESTDIR}/etc/termcap
clean:
rm -f termcap