xref: /csrg-svn/share/termcap/Makefile (revision 62600)
1*62600Sbostic#	@(#)Makefile	8.1 (Berkeley) 06/08/93
241645Sbostic
310605Slayer# reorder gives an editor command for most common terminals
410605Slayer# (in reverse order from n'th to 1'st most commonly used)
510605Slayer# to move them to the front of termcap
610605Slayer#
741645SbosticMAN5=	termcap.0
836961Sbostic
956262Selanall: termcap termcap.db ${MAN5}
1010905Slayer
1112034Slayertermcap: reorder termcap.src
1241645Sbostic	ex - ${.CURDIR}/termcap.src < ${.CURDIR}/reorder > /dev/null
1310606Slayer
1456262Selantermcap.db: termcap
1556262Selan	cap_mkdb termcap
1656262Selan
1736961Sbosticclean:
1856262Selan	rm -f termcap termcap.db
1912386Slayer
2041645Sbosticcleandir: clean
2144841Sbostic	rm -f ${MAN5}
2236961Sbostic
2344841Sbosticbeforeinstall:
2441645Sbostic	install -o ${BINOWN} -g ${BINGRP} -m 444 termcap \
2541645Sbostic	     ${DESTDIR}${BINDIR}/misc
2656262Selan	install -o ${BINOWN} -g ${BINGRP} -m 444 termcap.db \
2756262Selan	     ${DESTDIR}${BINDIR}/misc
2843474Sbostic	install -c -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/map3270 \
2941645Sbostic	     ${DESTDIR}${BINDIR}/misc
3010606Slayer
3156187Selan
3243047Sbostic.include <bsd.prog.mk>
33