Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/distrib/miniroot Remove instbin.cache from dependency lists, ...



details:   https://anonhg.NetBSD.org/src/rev/98fd2a4336b8
branches:  trunk
changeset: 520764:98fd2a4336b8
user:      pk <pk%NetBSD.org@localhost>
date:      Tue Jan 15 17:41:41 2002 +0000

description:
Remove instbin.cache from dependency lists, since crunchgen is now run
unconditionally.
Avoid running the crunchgen command multiple times for each dependent
target by marking only one target (instbin.mk) for unconditional re-make.

diffstat:

 distrib/miniroot/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (23 lines):

diff -r 7cb0f1874aa7 -r 98fd2a4336b8 distrib/miniroot/Makefile
--- a/distrib/miniroot/Makefile Tue Jan 15 17:21:47 2002 +0000
+++ b/distrib/miniroot/Makefile Tue Jan 15 17:41:41 2002 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.43 2002/01/07 12:56:42 shin Exp $
+#      $NetBSD: Makefile,v 1.44 2002/01/15 17:41:41 pk Exp $
 
 .include "../../Makefile.inc"
 .include <bsd.own.mk>
@@ -69,10 +69,11 @@
 ${CBIN}.conf: ${LISTS}
        awk -f ${.CURDIR}/makeconf.awk CBIN=${CBIN} ${LISTS} > ${CBIN}.conf
 
-${CBIN}.mk ${CBIN}.cache ${CBIN}.c! ${CRUNCHCONF}
+${CBIN}.mk: .EXEC
+${CBIN}.mk ${CBIN}.c: ${CRUNCHCONF}
        ${CRUNCHGEN} -f -D ${.CURDIR}/../.. -L ${DESTDIR}/usr/lib ${CRUNCHCONF}
 
-${CBIN}: ${CBIN}.mk ${CBIN}.cache ${CBIN}.c
+${CBIN}: ${CBIN}.mk ${CBIN}.c
        ${MAKE} -f ${CBIN}.mk all
 
 .ifndef RELEASEDIR



Home | Main Index | Thread Index | Old Index