Makefile revision 1790
1#	@(#)Makefile	8.1 (Berkeley) 6/8/93
2
3# reorder gives an editor command for most common terminals
4# (in reverse order from n'th to 1'st most commonly used)
5# to move them to the front of termcap
6#
7MAN5=	termcap.0
8
9CLEANFILES+=	termcap termcap.db
10
11all: termcap termcap.db
12
13termcap: reorder termcap.src
14	ex - ${.CURDIR}/termcap.src < ${.CURDIR}/reorder > /dev/null
15
16termcap.db: termcap
17	cap_mkdb termcap
18
19beforeinstall:
20	install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 termcap \
21	     ${DESTDIR}${BINDIR}/misc
22	install ${COPY} -o ${BINOWN} -g ${BINGRP} -m 444 termcap.db \
23	     ${DESTDIR}${BINDIR}/misc
24	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/map3270 \
25	     ${DESTDIR}${BINDIR}/misc
26
27	
28.include <bsd.prog.mk>
29