Fix some breakage with directory that have no subdirectories.

This commit is contained in:
mycroft 2000-06-06 08:54:06 +00:00
parent 39bf056eb6
commit 9994843c59
1 changed files with 3 additions and 1 deletions

View File

@ -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 # @(#)bsd.subdir.mk 8.1 (Berkeley) 6/8/93
.if !target(__initialized__) .if !target(__initialized__)
@ -44,7 +44,9 @@ __recurse: .USE
${targ}-${dir}: .MAKE __recurse ${targ}-${dir}: .MAKE __recurse
subdir-${targ}: ${targ}-${dir} subdir-${targ}: ${targ}-${dir}
.endfor .endfor
.if defined(__REALSUBDIR)
${targ}: subdir-${targ} ${targ}: subdir-${targ}
.endif
.endfor .endfor
# Make sure all of the standard targets are defined, even if they do nothing. # Make sure all of the standard targets are defined, even if they do nothing.