From: Peter Rosin Date: Tue, 14 Feb 2012 11:55:32 +0000 (+0100) Subject: fixup: do not tickle makefile-deps.test with the make_dryrun code X-Git-Tag: v1.11.3b~13^2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ced60d7fc474f008d642e280f7205f75f7c04d9;p=thirdparty%2Fautomake.git 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. --- 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; \