Module Name: src
Committed By: joerg
Date: Thu Nov 3 07:19:39 UTC 2011
Modified Files:
src/lib/libterminfo: Makefile Makefile.hash
Log Message:
Fix dependencies on generated files.
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/lib/libterminfo/Makefile
cvs rdiff -u -r1.3 -r1.4 src/lib/libterminfo/Makefile.hash
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libterminfo/Makefile
diff -u src/lib/libterminfo/Makefile:1.20 src/lib/libterminfo/Makefile:1.21
--- src/lib/libterminfo/Makefile:1.20 Wed Nov 2 20:39:41 2011
+++ src/lib/libterminfo/Makefile Thu Nov 3 07:19:39 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2011/11/02 20:39:41 yamt Exp $
+# $NetBSD: Makefile,v 1.21 2011/11/03 07:19:39 joerg Exp $
.include <bsd.own.mk>
@@ -39,10 +39,6 @@ CPPFLAGS+= -I${.OBJDIR}
.include <Makefile.hash>
-term.c: compiled_terms.c
-
-termcap.c: termcap_hash.c
-
# Generate our man pages
terminfo.5: genman terminfo.5.in term.h termcap_map.c
@echo "Generating terminfo man pages"
Index: src/lib/libterminfo/Makefile.hash
diff -u src/lib/libterminfo/Makefile.hash:1.3 src/lib/libterminfo/Makefile.hash:1.4
--- src/lib/libterminfo/Makefile.hash:1.3 Wed Nov 2 20:39:41 2011
+++ src/lib/libterminfo/Makefile.hash Thu Nov 3 07:19:39 2011
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.hash,v 1.3 2011/11/02 20:39:41 yamt Exp $
+# $NetBSD: Makefile.hash,v 1.4 2011/11/03 07:19:39 joerg Exp $
SCRIPT_ENV= \
TOOL_AWK=${TOOL_AWK:Q} \
@@ -22,4 +22,6 @@ compiled_terms.c: genterms term.h ${NETB
@echo "Generating compiled terminfo descriptions"
${SCRIPT_ENV} ${HOST_SH} ${.ALLSRC} > ${.TARGET}
+DPSRCS+= hash.c termcap_hash.c compiled_terms.c
+
CLEANFILES+= hash.c termcap_hash.c compiled_terms.c