META_MODE: Don't hide the .depend rm -f command.
Otherwise the build command changes every build. META_MODE will only remove it if something changes to warrant rebuilding the file. Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
e1dfa6572d
commit
f31828ed9c
@ -238,7 +238,7 @@ DPSRCS+= ${SRCS}
|
||||
# beforedepend/_EXTRADEPEND/afterdepend. The target is kept
|
||||
# to allow 'make depend' to generate files.
|
||||
${DEPENDFILE}: ${DPSRCS}
|
||||
.if exists(${.OBJDIR}/${DEPENDFILE})
|
||||
.if !empty(.MAKE.MODE:Mmeta) || exists(${.OBJDIR}/${DEPENDFILE})
|
||||
rm -f ${DEPENDFILE}
|
||||
.endif
|
||||
.if target(_EXTRADEPEND)
|
||||
|
Loading…
Reference in New Issue
Block a user