Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/kdump * Don't re-generate kdump-ioctl.c during install.
details: https://anonhg.NetBSD.org/src/rev/1783b2cb797b
branches: trunk
changeset: 785915:1783b2cb797b
user: uebayasi <uebayasi%NetBSD.org@localhost>
date: Sat Apr 06 13:48:12 2013 +0000
description:
* Don't re-generate kdump-ioctl.c during install.
* Don't expand hundreds of *.h paths into a variable and command-line in !=.
Lazily handle it the glob instead.
diffstat:
usr.bin/kdump/Makefile.ioctl-c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (22 lines):
diff -r 2cbb6996d80b -r 1783b2cb797b usr.bin/kdump/Makefile.ioctl-c
--- a/usr.bin/kdump/Makefile.ioctl-c Sat Apr 06 13:19:25 2013 +0000
+++ b/usr.bin/kdump/Makefile.ioctl-c Sat Apr 06 13:48:12 2013 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.ioctl-c,v 1.24 2013/04/04 22:35:28 dsl Exp $
+# $NetBSD: Makefile.ioctl-c,v 1.25 2013/04/06 13:48:12 uebayasi Exp $
# NOTE: <bsd.own.mk> needs to be previously .included for NETBSDSRCDIR
@@ -15,9 +15,9 @@
.endif
.endfor
-.if !make(cleandir) && !make(obj) && !make(includes)
-DEPFILEGLOB != ${TOOL_SED} -ne '/\/usr\/include\/.*\.h[ ]/{s/[ ]obsolete$$//;t' -e 's/xenio//;t' -e 's,\.\([^ ]*\).*,${DESTDIR}\1,;p;}' ${SETFILES}
-DEPFILES != egrep -l '(_IO\(|_IOR\(|_IOW\(|_IOWR\()' ${DEPFILEGLOB} 2>/dev/null || :
+.if !make(cleandir) && !make(obj) && !make(includes) && !make(install)
+DEPFILEGLOB = ${TOOL_SED} -ne '/\/usr\/include\/.*\.h[ ]/{s/[ ]obsolete$$//;t' -e 's/xenio//;t' -e 's,\.\([^ ]*\).*,${DESTDIR}\1,;p;}' ${SETFILES}
+DEPFILES != ${DEPFILEGLOB} | xargs egrep -l '(_IO\(|_IOR\(|_IOW\(|_IOWR\()' 2>/dev/null || :
.endif
${PROG}-ioctl.c: mkioctls Makefile ${DEPFILES} ${SETFILES}
Home |
Main Index |
Thread Index |
Old Index