Source-Changes-HG archive

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

[src/trunk]: src/etc Generate MAKEDEV only when really necessary. Write depe...



details:   https://anonhg.NetBSD.org/src/rev/44ae8bedbb63
branches:  trunk
changeset: 762134:44ae8bedbb63
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Wed Feb 16 16:20:06 2011 +0000

description:
Generate MAKEDEV only when really necessary.  Write dependency correctly.

diffstat:

 etc/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 449e2ead16cc -r 44ae8bedbb63 etc/Makefile
--- a/etc/Makefile      Wed Feb 16 16:02:52 2011 +0000
+++ b/etc/Makefile      Wed Feb 16 16:20:06 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.385 2011/02/16 15:52:51 uebayasi Exp $
+#      $NetBSD: Makefile,v 1.386 2011/02/16 16:20:06 uebayasi Exp $
 #      from: @(#)Makefile      8.7 (Berkeley) 5/25/95
 
 # Environment variables without default values:
@@ -173,7 +173,8 @@
 
 
 CLEANFILES+=   MAKEDEV
-MAKEDEV: .EXEC
+MAKEDEV: ${.CURDIR}/MAKEDEV.awk ${.CURDIR}/MAKEDEV.tmpl \
+    ${.CURDIR}/etc.${MACHINE}/MAKEDEV.conf
        ${_MKTARGET_CREATE}
        MACHINE=${MACHINE:Q} MACHINE_ARCH=${MACHINE_ARCH:Q} \
            NETBSDSRCDIR=${NETBSDSRCDIR:Q} \



Home | Main Index | Thread Index | Old Index