summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-29 01:28:46 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-01-29 01:28:46 +0000
commitad1bb41c9f76c905cedadf4945386e0ffc50090b (patch)
tree93915e45a14dd6a13e8b086f9a496cdfe0682e1f
parent46fb2bfb1bc6ae77fd63e13118f60c3373d570ad (diff)
use ed to repair all termcap database entries that locate the
tabset in the two wrong places.
-rw-r--r--share/termcap/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/share/termcap/Makefile b/share/termcap/Makefile
index 78a746b6c85..e820d9ff549 100644
--- a/share/termcap/Makefile
+++ b/share/termcap/Makefile
@@ -1,5 +1,5 @@
# from: @(#)Makefile 5.14 (Berkeley) 9/15/92
-# $Id: Makefile,v 1.1 1995/10/18 08:44:48 deraadt Exp $
+# $Id: Makefile,v 1.2 1996/01/29 01:28:45 deraadt Exp $
MAN= termcap.5
@@ -7,7 +7,11 @@ CLEANFILES= termcap.db
all: termcap.db
termcap.db: termcap.src
- cap_mkdb -f termcap ${.ALLSRC}
+ cat ${.ALLSRC} | sed \
+ -e 's,/usr/share/lib/tabset,/usr/share/tabset,g' \
+ -e 's,/usr/lib/tabset,/usr/share/tabset,g' \
+ > ${.OBJDIR}/fixed
+ cap_mkdb -f termcap ${.OBJDIR}/fixed
realinstall:
install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 termcap.db \
@@ -17,5 +21,6 @@ realinstall:
install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/map3270 \
${DESTDIR}${BINDIR}/misc/map3270
+CLEANFILES+= fixed
.include <bsd.prog.mk>