Return to Makefile CVS log | Up to [local] / src / share / termtypes |
File: [local] / src / share / termtypes / Makefile (download)
Revision 1.17, Wed Oct 14 19:52:23 2009 UTC (14 years, 7 months ago) by nicm
Three cleanups: - ESR no longer maintains termcap/terminfo and the URL in Makefile is dead, so remove it; - remove the tic(1) stdout usage hack which is no longer necessary; - remove the README file which doesn't have anything useful anymore. ok millert |
# $OpenBSD: Makefile,v 1.17 2009/10/14 19:52:23 nicm Exp $ # # Take termcap/terminfo master file and generate termcap/terminfo .db files MAN= termcap.5 CLEANFILES+= terminfo.src termcap.src terminfo.db termcap.db TIC= /usr/bin/tic all: terminfo.db termcap.db terminfo.src: termtypes.master ${TIC} -I -x ${.ALLSRC} | sed \ -e 's,/usr/share/lib/tabset,/usr/share/tabset,g' \ -e 's,/usr/lib/tabset,/usr/share/tabset,g' \ > ${.TARGET} @if [ ! -s ${.TARGET} ]; then \ echo ${.TARGET} is zero length! You need to update ${TIC} ;\ rm -f ${.TARGET} ;\ exit 1 ;\ fi terminfo.db: terminfo.src cap_mkdb -i -f terminfo terminfo.src termcap.src: termtypes.master ${TIC} -C -x ${.ALLSRC} | sed \ -e 's,/usr/share/lib/tabset,/usr/share/tabset,g' \ -e 's,/usr/lib/tabset,/usr/share/tabset,g' \ > ${.TARGET} @if [ ! -s ${.TARGET} ]; then \ echo ${.TARGET} is zero length! You need to update ${TIC} ;\ rm -f ${.TARGET} ;\ exit 1 ;\ fi termcap.db: termcap.src cap_mkdb -f termcap termcap.src realinstall: ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 terminfo.db \ ${DESTDIR}${BINDIR}/misc/terminfo.db ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 termcap.db \ ${DESTDIR}${BINDIR}/misc/termcap.db ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 termcap.src \ ${DESTDIR}${BINDIR}/misc/termcap ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 ${.CURDIR}/map3270 \ ${DESTDIR}${BINDIR}/misc/map3270 ln -fs ${BINDIR}/misc/termcap ${DESTDIR}/etc/termcap .include <bsd.prog.mk>