From 4ced60d7fc474f008d642e280f7205f75f7c04d9 Mon Sep 17 00:00:00 2001 From: Peter Rosin Date: Tue, 14 Feb 2012 12:55:32 +0100 Subject: [PATCH] fixup: do not tickle makefile-deps.test with the make_dryrun code * lib/am/header-vars.am (am__make_dryrun): Avoid code matching '^ *:' in the Makefile, as that tickles makefile-deps.test. --- lib/am/header-vars.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/am/header-vars.am b/lib/am/header-vars.am index 1078a3d5d..97516ef49 100644 --- a/lib/am/header-vars.am +++ b/lib/am/header-vars.am @@ -32,12 +32,15 @@ VPATH = @srcdir@ ## and are thus executed also with "make -n" -- either because they ## are declared as dependencies to '.MAKE' (NetBSD make), or because ## their recipes contain the "$(MAKE)" string (GNU and Solari make). + +## The case statement has [:] in order to not tickle makefile-deps.test +## which greps for '^ *:'. am__make_dryrun = \ { \ am__dry=no; \ for am__flg in : $(MAKEFLAGS); do \ case $$am__flg in \ - :) ;; \ + [:]) ;; \ *=*|--*) ;; \ *n*) am__dry=yes; break;; \ esac; \ -- 2.47.2