| 1 | # @(#)Makefile 5.12 (Berkeley) 7/1/90 |
| 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 | # |
| 7 | MAN5= termcap.0 |
| 8 | |
| 9 | all: termcap ${MAN5} |
| 10 | |
| 11 | termcap: reorder termcap.src |
| 12 | ex - ${.CURDIR}/termcap.src < ${.CURDIR}/reorder > /dev/null |
| 13 | |
| 14 | clean: |
| 15 | rm -f termcap |
| 16 | |
| 17 | cleandir: clean |
| 18 | rm -f ${MAN5} |
| 19 | |
| 20 | beforeinstall: |
| 21 | install -o ${BINOWN} -g ${BINGRP} -m 444 termcap \ |
| 22 | ${DESTDIR}${BINDIR}/misc |
| 23 | install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/map3270 \ |
| 24 | ${DESTDIR}${BINDIR}/misc |
| 25 | |
| 26 | .include <bsd.prog.mk> |