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 9all: termcap termcap.db ${MAN5} 10 11termcap: reorder termcap.src 12 ex - ${.CURDIR}/termcap.src < ${.CURDIR}/reorder > /dev/null 13 14termcap.db: termcap 15 cap_mkdb termcap 16 17clean: 18 rm -f termcap termcap.db 19 20cleandir: clean 21 rm -f ${MAN5} 22 23beforeinstall: 24 install -o ${BINOWN} -g ${BINGRP} -m 444 termcap \ 25 ${DESTDIR}${BINDIR}/misc 26 install -o ${BINOWN} -g ${BINGRP} -m 444 termcap.db \ 27 ${DESTDIR}${BINDIR}/misc 28 install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/map3270 \ 29 ${DESTDIR}${BINDIR}/misc 30 31 32.include <bsd.prog.mk> 33