summaryrefslogtreecommitdiff
path: root/usr.bin/vi
diff options
context:
space:
mode:
authordm <dm@cvs.openbsd.org>1996-05-28 02:24:57 +0000
committerdm <dm@cvs.openbsd.org>1996-05-28 02:24:57 +0000
commitb4a5e3a059ed351afda82a8431983c76a7223aa9 (patch)
tree5e694694e923b285d0f4fdb4ba6e6ad7a42e9bc3 /usr.bin/vi
parent8b627d5c39897a87ae85f48a0761e20c4cfc49cc (diff)
Install catalog files under ${DESTDIR}, and create
${DESTDIR}/usr/share/vi/catalog.
Diffstat (limited to 'usr.bin/vi')
-rw-r--r--usr.bin/vi/build/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/vi/build/Makefile b/usr.bin/vi/build/Makefile
index 6a910754bb1..0087d045fe0 100644
--- a/usr.bin/vi/build/Makefile
+++ b/usr.bin/vi/build/Makefile
@@ -33,6 +33,7 @@ MLINKS= vi.1 ex.1 vi.1 view.1
.include "../../Makefile.inc"
cat= dutch english german ru_SU.KOI8-R swedish
-datadir= /usr/share
+datadir= ${DESTDIR}/usr/share
afterinstall:
+ install -d ${datadir}/vi/catalog
(cd ${.CURDIR}/../catalog && install -m $(NONBINMODE) -c $(cat) $(datadir)/vi/catalog )