Author: bdrewery
Date: Tue Oct 13 18:44:55 2015
New Revision: 289248
URL: https://svnweb.freebsd.org/changeset/base/289248

Log:
  MFC r288391:
  
    Fix the .MAKE added in r251750 to properly support the historical -n -n.

Modified:
  stable/10/Makefile
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/Makefile
==============================================================================
--- stable/10/Makefile  Tue Oct 13 18:43:49 2015        (r289247)
+++ stable/10/Makefile  Tue Oct 13 18:44:55 2015        (r289248)
@@ -245,9 +245,9 @@ cleanworld:
 # Handle the user-driven targets, using the source relative mk files.
 #
 
-.if empty(.MAKEFLAGS:M-n)
+.if !(!empty(.MAKEFLAGS:M-n) && ${.MAKEFLAGS:M-n} == "-n")
 # skip this for -n to avoid changing previous behavior of 
-# 'make -n buildworld' etc.
+# 'make -n buildworld' etc.  Using -n -n will run it.
 ${TGTS}: .MAKE
 tinderbox toolchains kernel-toolchains: .MAKE
 .endif
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to