diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-07-06 18:53:14 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2011-07-06 18:53:14 +0000 |
commit | a7a68c90254263498131236819cdb7e7740c05a1 (patch) | |
tree | 1545fb7c6c835c76c4a6c9bd289300c647633506 /share/termtypes | |
parent | ae815eff853a3623de33a39d651951d898741818 (diff) |
Remove old warning about upgrading tic and just exit.
ok millert
Diffstat (limited to 'share/termtypes')
-rw-r--r-- | share/termtypes/Makefile | 15 |
1 files changed, 4 insertions, 11 deletions
diff --git a/share/termtypes/Makefile b/share/termtypes/Makefile index e11faaec5b9..b959b6f50c0 100644 --- a/share/termtypes/Makefile +++ b/share/termtypes/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.20 2011/07/06 18:49:08 millert Exp $ +# $OpenBSD: Makefile,v 1.21 2011/07/06 18:53:13 nicm Exp $ # # Take termcap/terminfo master file and generate termcap/terminfo .db files @@ -10,28 +10,21 @@ all: terminfo.db termcap.db termcap terminfo.src: termtypes.master ${TIC} -I -x ${.ALLSRC} | sed -e '/^#/d' -e '/^$$/d' > ${.TARGET} - @if [ ! -s ${.TARGET} ]; then \ - echo ${.TARGET} is zero length! You need to update ${TIC} ;\ - rm -f ${.TARGET} ;\ - exit 1 ;\ - fi + @[ -s ${.TARGET} ] || exit 1 terminfo.db: terminfo.src cap_mkdb -i -f terminfo terminfo.src termcap.src: termtypes.master ${TIC} -C -x ${.ALLSRC} | sed -e '/^#/d' -e '/^$$/d' > ${.TARGET} - @if [ ! -s ${.TARGET} ]; then \ - echo ${.TARGET} is zero length! You need to update ${TIC} ;\ - rm -f ${.TARGET} ;\ - exit 1 ;\ - fi + @[ -s ${.TARGET} ] || exit 1 termcap.db: termcap.src cap_mkdb -f termcap termcap.src termcap: termtypes.master ${TIC} -C -x ${.ALLSRC} > ${.TARGET} + @[ -s ${.TARGET} ] || exit 1 realinstall: ${INSTALL} ${INSTALL_COPY} -o ${BINOWN} -g ${BINGRP} -m 444 terminfo.db \ |