summaryrefslogtreecommitdiffstats
path: root/rules/other/Toplevel.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/other/Toplevel.make')
-rw-r--r--rules/other/Toplevel.make2
1 files changed, 1 insertions, 1 deletions
diff --git a/rules/other/Toplevel.make b/rules/other/Toplevel.make
index 5d81c7504..7e850e233 100644
--- a/rules/other/Toplevel.make
+++ b/rules/other/Toplevel.make
@@ -3,7 +3,7 @@
# Copyright (C) 2002-2009 by The PTXdist Team - See CREDITS for Details
#
-ifneq ($(filter n,$(MAKEFLAGS)),)
+ifneq ($(findstring n,$(filter-out --%,$(MAKEFLAGS))),)
# make sure recursive calls do nothing for --dry-run
MAKE=true
SHELL=true