summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2011-07-19 10:20:21 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2011-07-19 10:20:21 +0000
commita92f35edee15bf7431aa9f8d524908e36aeaf369 (patch)
tree7ee77f1f800b4c116e58c91b9f3b3ecaf5f9ba3e /share
parent8e82dd966a99672c11721a2d4603669cbd057e6b (diff)
Avoid running tic an extra time when stripping the comments from
termcap. With help from and OK nicm@
Diffstat (limited to 'share')
-rw-r--r--share/termtypes/Makefile10
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}