diff options
-rw-r--r-- | lib/am/configure.am | 4 | ||||
-rw-r--r-- | t/distcheck-pr18286.sh | 5 |
2 files changed, 4 insertions, 5 deletions
diff --git a/lib/am/configure.am b/lib/am/configure.am index 92f96162d..b528d9e74 100644 --- a/lib/am/configure.am +++ b/lib/am/configure.am @@ -71,11 +71,11 @@ $(am.relpath.makefile): %MAKEFILE-DEPS% $(top_builddir)/config.status esac; ## Avoid the "deleted header file" problem for the dependencies. -## Add the trailing "$(am__empty)" to trick Automake into not spuriously +## Add the trailing "$(am.chars.empty)" to trick Automake into not spuriously ## complaining about "duplicated targets" in case the %MAKEFILE-IN-DEPS% ## list expands to a single target that is also declared in some ## user-defined rule. -?HAVE-MAKEFILE-IN-DEPS?%MAKEFILE-IN-DEPS% $(am__empty): +?HAVE-MAKEFILE-IN-DEPS?%MAKEFILE-IN-DEPS% $(am.chars.empty): am.dist.common-files += $(am.relpath.makefile.am) diff --git a/t/distcheck-pr18286.sh b/t/distcheck-pr18286.sh index fe8961287..fd3451db1 100644 --- a/t/distcheck-pr18286.sh +++ b/t/distcheck-pr18286.sh @@ -58,13 +58,12 @@ $AUTOMAKE -a $MAKE check # Oops, we failed to distribute some required files! -run_make -e FAIL -M distcheck -$FGREP '../../test_data.txt' output +run_make -e FAIL -E distcheck +$FGREP '../../test_data.txt' stderr # But if we distribute them, everything will be OK. echo 'EXTRA_DIST = test_data.txt gen-testdata.sh' >> Makefile.am -using_gmake || $MAKE Makefile $MAKE distcheck : |