]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
fixup: do not tickle makefile-deps.test with the make_dryrun code
authorPeter Rosin <peda@lysator.liu.se>
Tue, 14 Feb 2012 11:55:32 +0000 (12:55 +0100)
committerPeter Rosin <peda@lysator.liu.se>
Tue, 14 Feb 2012 12:47:48 +0000 (13:47 +0100)
* 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

index 1078a3d5d804cd395ce53c51d1531a3b5dbc7dba..97516ef4941acf90a8e7988a19a3775edefc9ad3 100644 (file)
@@ -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; \