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