xref: /freebsd/share/termcap/Makefile (revision e9ac41698b2f322d55ccf9da50a3596edb2c1800)
1afe61c15SRodney W. Grimes# reorder gives an editor command for most common terminals
2afe61c15SRodney W. Grimes# (in reverse order from n'th to 1'st most commonly used)
3afe61c15SRodney W. Grimes# to move them to the front of termcap
4afe61c15SRodney W. Grimes#
5acaf79e1SRuslan ErmilovMAN=	termcap.5
6afe61c15SRodney W. Grimes
7a7b5a3d4SEmmanuel VadotPACKAGE=	runtime
8423987b6SPoul-Henning KampFILES=		termcap termcap.db
9a7aaf57eSRuslan ErmilovFILESDIR=	${BINDIR}/misc
10*3078531dSMaxim SobolevCLEANFILES+=	termcap.db
116ad780caSMaxim Sobolev
126fe37d13SRuslan Ermilov.include <bsd.endian.mk>
13a8b8edb2SMaxim Sobolev.include <src.tools.mk>
146fe37d13SRuslan Ermilov
15afe61c15SRodney W. Grimestermcap.db: termcap
16a8b8edb2SMaxim Sobolev	${CAP_MKDB_CMD} ${CAP_MKDB_ENDIAN} -f ${.TARGET:R} ${.ALLSRC}
17afe61c15SRodney W. Grimes
18361e0905SWolfram Schneideretc-termcap:
19cea7cfd2SEd Maste	${INSTALL_SYMLINK} -T "package=runtime" \
20cea7cfd2SEd Maste	    ${BINDIR}/misc/termcap ${DESTDIR}/etc/termcap
21afe61c15SRodney W. Grimes
22afe61c15SRodney W. Grimes.include <bsd.prog.mk>
23