From 3ce05314f317514541aba0136b13e5277aa0a729 Mon Sep 17 00:00:00 2001 From: bdrewery Date: Tue, 13 Oct 2015 18:44:55 +0000 Subject: MFC r288391: Fix the .MAKE added in r251750 to properly support the historical -n -n. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 99e08af..6693c33 100644 --- a/Makefile +++ b/Makefile @@ -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 -- cgit v1.1