version 1.16, 2008/09/02 00:01:34 |
version 1.17, 2009/10/14 19:52:23 |
|
|
# $OpenBSD$ |
# $OpenBSD$ |
# |
# |
# Take termcap/terminfo master file and generate termcap/terminfo .db files |
# Take termcap/terminfo master file and generate termcap/terminfo .db files |
# master: http://www.tuxedo.org/~esr/terminfo/termtypes.master.gz |
|
|
|
MAN= termcap.5 |
MAN= termcap.5 |
CLEANFILES+= terminfo.src termcap.src terminfo.db termcap.db |
CLEANFILES+= terminfo.src termcap.src terminfo.db termcap.db |
|
|
echo ${.TARGET} is zero length! You need to update ${TIC} ;\ |
echo ${.TARGET} is zero length! You need to update ${TIC} ;\ |
rm -f ${.TARGET} ;\ |
rm -f ${.TARGET} ;\ |
exit 1 ;\ |
exit 1 ;\ |
else case `sed 1q ${.TARGET}` in \ |
|
Usage*) echo ${.TARGET} is corrupt! You need to update ${TIC} ;\ |
|
rm -f ${.TARGET} ;\ |
|
exit 1 ;;\ |
|
esac ;\ |
|
fi |
fi |
|
|
terminfo.db: terminfo.src |
terminfo.db: terminfo.src |
|
|
echo ${.TARGET} is zero length! You need to update ${TIC} ;\ |
echo ${.TARGET} is zero length! You need to update ${TIC} ;\ |
rm -f ${.TARGET} ;\ |
rm -f ${.TARGET} ;\ |
exit 1 ;\ |
exit 1 ;\ |
else case `sed 1q ${.TARGET}` in \ |
|
Usage*) echo ${.TARGET} is corrupt! You need to update ${TIC} ;\ |
|
rm -f ${.TARGET} ;\ |
|
exit 1 ;;\ |
|
esac ;\ |
|
fi |
fi |
|
|
termcap.db: termcap.src |
termcap.db: termcap.src |