diff options
author | millert <millert@openbsd.org> | 2011-07-19 10:20:20 +0000 |
---|---|---|
committer | millert <millert@openbsd.org> | 2011-07-19 10:20:20 +0000 |
commit | 6561d61a48ad5aab8aa1b7ba8eabf3925acbc9f1 (patch) | |
tree | 96fe826837c32c4c6c0d8b0075d35b9c72d820d5 /share/termtypes | |
parent | we need to alias __movstr* as __movmem* for gcc4 (diff) | |
download | wireguard-openbsd-6561d61a48ad5aab8aa1b7ba8eabf3925acbc9f1.tar.xz wireguard-openbsd-6561d61a48ad5aab8aa1b7ba8eabf3925acbc9f1.zip |
Avoid running tic an extra time when stripping the comments from
termcap. With help from and OK nicm@
Diffstat (limited to 'share/termtypes')
-rw-r--r-- | share/termtypes/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/termtypes/Makefile b/share/termtypes/Makefile index b959b6f50c0..72f18908cc4 100644 --- a/share/termtypes/Makefile +++ b/share/termtypes/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.21 2011/07/06 18:53:13 nicm Exp $ +# $OpenBSD: Makefile,v 1.22 2011/07/19 10:20:20 millert Exp $ # # Take termcap/terminfo master file and generate termcap/terminfo .db files @@ -13,14 +13,14 @@ terminfo.src: termtypes.master @[ -s ${.TARGET} ] || exit 1 terminfo.db: terminfo.src - cap_mkdb -i -f terminfo terminfo.src + cap_mkdb -i -f terminfo ${.ALLSRC} -termcap.src: termtypes.master - ${TIC} -C -x ${.ALLSRC} | sed -e '/^#/d' -e '/^$$/d' > ${.TARGET} +termcap.src: termcap + sed -e '/^#/d' -e '/^$$/d' ${.ALLSRC} > ${.TARGET} @[ -s ${.TARGET} ] || exit 1 termcap.db: termcap.src - cap_mkdb -f termcap termcap.src + cap_mkdb -f termcap ${.ALLSRC} termcap: termtypes.master ${TIC} -C -x ${.ALLSRC} > ${.TARGET} |