summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorPeter Rosin <peda@lysator.liu.se>2012-02-14 12:55:32 +0100
committerPeter Rosin <peda@lysator.liu.se>2012-02-14 13:47:48 +0100
commit4ced60d7fc474f008d642e280f7205f75f7c04d9 (patch)
tree9ee6f320c9ef9db769480c8e9374e8d41e2631f7 /lib
parent06684c510ab3115093178cdcfb28c2fff41b324c (diff)
downloadautomake-4ced60d7fc474f008d642e280f7205f75f7c04d9.tar.gz
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/am/header-vars.am5
1 files changed, 4 insertions, 1 deletions
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; \