From d95fa042491e37c7cab6fd84fad209a160c6e8fa Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Wed, 29 Jun 2016 16:45:01 +0000 Subject: [PATCH] Don't warn about needing filemon for makeman. r287879 wasn't quite enough here since Makefile.inc1 is running 'make -C release -V VERSION' and hitting the warning. Reported by: lattera Sponsored by: EMC / Isilon Storage Division Approved by: re (blanket, META_MODE) --- share/mk/bsd.init.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/mk/bsd.init.mk b/share/mk/bsd.init.mk index 01d5c47e914d..25ab7625ec65 100644 --- a/share/mk/bsd.init.mk +++ b/share/mk/bsd.init.mk @@ -31,7 +31,7 @@ _SKIP_BUILD = not building at level 0 .if ${MK_META_MODE} == "yes" .if !exists(/dev/filemon) && \ ${UPDATE_DEPENDFILE:Uyes:tl} != "no" && !defined(NO_FILEMON) && \ - !make(showconfig) + !make(showconfig) && ${.MAKEFLAGS:M-V} == "" .warning The filemon module (/dev/filemon) is not loaded. .warning META_MODE is less useful for incremental builds without filemon. .warning 'kldload filemon' or pass -DNO_FILEMON to suppress this warning.