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:
bdrewery 2016-04-18 21:11:55 +00:00
parent 020a8d64e6
commit 77ec731d14

View File

@ -238,7 +238,7 @@ DPSRCS+= ${SRCS}
# beforedepend/_EXTRADEPEND/afterdepend. The target is kept # beforedepend/_EXTRADEPEND/afterdepend. The target is kept
# to allow 'make depend' to generate files. # to allow 'make depend' to generate files.
${DEPENDFILE}: ${DPSRCS} ${DEPENDFILE}: ${DPSRCS}
.if exists(${.OBJDIR}/${DEPENDFILE}) .if !empty(.MAKE.MODE:Mmeta) || exists(${.OBJDIR}/${DEPENDFILE})
rm -f ${DEPENDFILE} rm -f ${DEPENDFILE}
.endif .endif
.if target(_EXTRADEPEND) .if target(_EXTRADEPEND)