]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] cleanup: after the merge master -> ng/master done recently
authorStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 24 Dec 2014 00:13:04 +0000 (01:13 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Wed, 24 Dec 2014 00:19:26 +0000 (01:19 +0100)
* t/distcheck-pr18286.sh: Slightly simplify and tighten by assuming
that $MAKE is GNU make.
* lib/am/configure.am: Use $(am.chars.empty) rather than $(am__empty)
for the internal variable always expansing to the empty string.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/configure.am
t/distcheck-pr18286.sh

index 92f96162dcdd2896c21ad1950d204097172fdd25..b528d9e7415aef88f13377a81e5dadd26d93e4ed 100644 (file)
@@ -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)
 
index fe8961287bf41c330809db6bff37ce3b958015f2..fd3451db1b090ff6c03951a5aefb34a60ce7689c 100644 (file)
@@ -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
 
 :