summaryrefslogtreecommitdiff
path: root/unit-tests/opt-no-action.mk
diff options
context:
space:
mode:
Diffstat (limited to 'unit-tests/opt-no-action.mk')
-rw-r--r--unit-tests/opt-no-action.mk4
1 files changed, 3 insertions, 1 deletions
diff --git a/unit-tests/opt-no-action.mk b/unit-tests/opt-no-action.mk
index 32b3b1564acb..91c05b2dc00f 100644
--- a/unit-tests/opt-no-action.mk
+++ b/unit-tests/opt-no-action.mk
@@ -1,9 +1,11 @@
-# $NetBSD: opt-no-action.mk,v 1.3 2020/08/19 05:25:26 rillig Exp $
+# $NetBSD: opt-no-action.mk,v 1.4 2020/11/09 20:50:56 rillig Exp $
#
# Tests for the -n command line option, which runs almost no commands.
# It just outputs them, to be inspected by human readers.
# Only commands that are in a .MAKE target or prefixed by '+' are run.
+.MAKEFLAGS: -n
+
# This command cannot be prevented from being run since it is used at parse
# time, and any later variable assignments may depend on its result.
!= echo 'command during parsing' 1>&2; echo