version 1.10, 1999/03/22 18:53:11 |
version 1.11, 1999/12/12 22:24:59 |
|
|
terminfo.db: terminfo.src |
terminfo.db: terminfo.src |
cap_mkdb -i -f terminfo terminfo.src |
cap_mkdb -i -f terminfo terminfo.src |
|
|
# Note the disgusting ed hack to remove three lines from xterm |
# Note the hack to remove lines betweem the 'xterm' extry and what it includes. |
|
# This exists to prune out some unneeded entries so it is <= 1023 bytes. |
termcap.src: termtypes.master |
termcap.src: termtypes.master |
tic -C ${.ALLSRC} | sed \ |
tic -C ${.ALLSRC} | perl -e \ |
-e 's,/usr/share/lib/tabset,/usr/share/tabset,g' \ |
'undef $$/; $$_ = <STDIN>; \ |
-e 's,/usr/lib/tabset,/usr/share/tabset,g' \ |
s,/usr/share/lib/tabset,/usr/share/tabset,g; \ |
|
s,/usr/lib/tabset,/usr/share/tabset,g; \ |
|
s/(\nxterm\|[^\n]+\n)[^#]+(\s+:tc=)/$$1$$2/s; print' \ |
> ${.TARGET} |
> ${.TARGET} |
echo "1\n/^xterm|\n\nd\nd\nd\n.\nw\nq\n" | ed - ${.OBJDIR}/termcap.src >/dev/null 2>&1 |
|
@if [ ! -s ${.TARGET} ]; then \ |
@if [ ! -s ${.TARGET} ]; then \ |
echo ${.TARGET} is zero length! You need to update /usr/bin/tic ;\ |
echo ${.TARGET} is zero length! You need to update /usr/bin/tic ;\ |
exit 1 ;\ |
exit 1 ;\ |