Author: bdrewery
Date: Wed Jun 29 16:45:01 2016
New Revision: 302282
URL: https://svnweb.freebsd.org/changeset/base/302282

Log:
  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)

Modified:
  head/share/mk/bsd.init.mk

Modified: head/share/mk/bsd.init.mk
==============================================================================
--- head/share/mk/bsd.init.mk   Wed Jun 29 16:41:37 2016        (r302281)
+++ head/share/mk/bsd.init.mk   Wed Jun 29 16:45:01 2016        (r302282)
@@ -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.
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to