Source-Changes-HG archive

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

[src/trunk]: src/share/mk Fix some breakage with directory that have no subdi...



details:   https://anonhg.NetBSD.org/src/rev/8435b05707c8
branches:  trunk
changeset: 487328:8435b05707c8
user:      mycroft <mycroft%NetBSD.org@localhost>
date:      Tue Jun 06 08:54:06 2000 +0000

description:
Fix some breakage with directory that have no subdirectories.

diffstat:

 share/mk/bsd.subdir.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 3c39dcc9116b -r 8435b05707c8 share/mk/bsd.subdir.mk
--- a/share/mk/bsd.subdir.mk    Tue Jun 06 08:44:57 2000 +0000
+++ b/share/mk/bsd.subdir.mk    Tue Jun 06 08:54:06 2000 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.subdir.mk,v 1.37 2000/06/06 06:49:39 mycroft Exp $
+#      $NetBSD: bsd.subdir.mk,v 1.38 2000/06/06 08:54:06 mycroft Exp $
 #      @(#)bsd.subdir.mk       8.1 (Berkeley) 6/8/93
 
 .if !target(__initialized__)
@@ -44,7 +44,9 @@
 ${targ}-${dir}: .MAKE __recurse
 subdir-${targ}: ${targ}-${dir}
 .endfor
+.if defined(__REALSUBDIR)
 ${targ}: subdir-${targ}
+.endif
 .endfor
 
 # Make sure all of the standard targets are defined, even if they do nothing.



Home | Main Index | Thread Index | Old Index