Don't scan include files in "includes" target because they might not be
in the destination directory yet.
This commit is contained in:
parent
1e8861042b
commit
d12de89293
|
@ -1,10 +1,10 @@
|
|||
# $NetBSD: Makefile.ioctl-c,v 1.14 2004/04/23 12:05:53 hannken Exp $
|
||||
# $NetBSD: Makefile.ioctl-c,v 1.15 2004/07/07 14:28:17 tron Exp $
|
||||
|
||||
# NOTE: <bsd.own.mk> needs to be previously .included for NETBSDSRCDIR
|
||||
|
||||
DEPFILEGLOB= ${DESTDIR}/usr/include/*/*.h
|
||||
|
||||
.if !make(cleandir) && !make(obj)
|
||||
.if !make(cleandir) && !make(obj) && !make(includes)
|
||||
DEPFILES != egrep -l '(_IO\(|_IOR\(|_IOW\(|_IORW\()' ${DEPFILEGLOB}
|
||||
.endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue