summaryrefslogtreecommitdiff
path: root/share/terminfo/Makefile
diff options
context:
space:
mode:
authorThorsten Lockert <tholo@cvs.openbsd.org>1996-07-22 04:46:03 +0000
committerThorsten Lockert <tholo@cvs.openbsd.org>1996-07-22 04:46:03 +0000
commite19d6e46677aa4f332ca8d12dc71f706f1ce0488 (patch)
tree2aea9d7644ef1e01d6dceb757a9cf042712d8c97 /share/terminfo/Makefile
parent4e5f8b13a08f788e1dbba088ab9b02e4b5f172f2 (diff)
Add build of terminfo.db; note that the terminfo source has been modified
to have stock X11R6 xterm as the default "xterm" entry, and not the fixed XFree86 3.1.2E version
Diffstat (limited to 'share/terminfo/Makefile')
-rw-r--r--share/terminfo/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/share/terminfo/Makefile b/share/terminfo/Makefile
new file mode 100644
index 00000000000..08c5122dee5
--- /dev/null
+++ b/share/terminfo/Makefile
@@ -0,0 +1,19 @@
+# $OpenBSD: Makefile,v 1.1 1996/07/22 04:46:01 tholo Exp $
+
+#MAN= terminfo.5
+
+CLEANFILES= fixed terminfo.db
+all: terminfo.db
+
+terminfo.db: terminfo.src
+ cat ${.ALLSRC} | sed \
+ -e 's,/usr/share/lib/tabset,/usr/share/tabset,g' \
+ -e 's,/usr/lib/tabset,/usr/share/tabset,g' \
+ > ${.OBJDIR}/fixed
+ info_mkdb -f terminfo ${.OBJDIR}/fixed
+
+realinstall:
+ install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 terminfo.db \
+ ${DESTDIR}${BINDIR}/misc/terminfo.db
+
+.include <bsd.prog.mk>