]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
Merge branch 'minor'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 6 Jan 2015 12:17:23 +0000 (13:17 +0100)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 6 Jan 2015 12:17:23 +0000 (13:17 +0100)
* minor:
  deps: fix corner-case "make distclean" bug
  compile: don't place built object files in $(srcdir), ever ...
  tests: fix some bugs in an XFAILing test
  deps: 'subdir-object' option now works when foo_SOURCES contains $(var)
  NEWS: fix a typo

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
1  2 
NEWS
bin/automake.in
t/depcomp8a.sh
t/depcomp8b.sh
t/list-of-tests.mk

diff --cc NEWS
Simple merge
diff --cc bin/automake.in
Simple merge
diff --cc t/depcomp8a.sh
index cf263a560111ec5e598fb311d66d3758a1432401,07bbfc1fd33e56aa6c35128a965176712fe9f253..2190800dc3cbc4a6436a9a5f67a5fcb981ccecb3
@@@ -48,13 -48,30 +48,11 @@@ int bar (void
  END
  
  $ACLOCAL
--# FIXME: stop disabling the warnings in the 'unsupported' category
--# FIXME: once the 'subdir-objects' option has been mandatory.
--$AUTOMAKE -a -Wno-unsupported
- grep include Makefile.in # For debugging.
- grep 'include.*\./\$(DEPDIR)/foo\.P' Makefile.in
- LC_ALL=C grep 'include.*[^a-zA-Z0-9_/]sub/\$(DEPDIR)/bar\.P' Makefile.in
- $EGREP 'include.*/(\.|sub)/\$\(DEPDIR\)' Makefile.in && exit 1
 -grep '\.P' Makefile.in # For debugging.
 -grep '\./\$(DEPDIR)/foo\.Po' Makefile.in
 -grep '\./\$(DEPDIR)/bar\.Po' Makefile.in
 -grep '/\./\$(DEPDIR)' Makefile.in && exit 1
 -
 -$AUTOCONF
 -# Don't reject slower dependency extractors, for better coverage.
 -./configure --enable-dependency-tracking
 -$MAKE
 -cross_compiling || ./zardoz
 -DISTCHECK_CONFIGURE_FLAGS='--enable-dependency-tracking' $MAKE distcheck
 -
 -# Try again with subdir-objects option.
 -
 -echo AUTOMAKE_OPTIONS = subdir-objects >> Makefile.am
 -
 -$AUTOMAKE
++$AUTOMAKE -a
+ grep '\.P' Makefile.in # For debugging.
+ grep '\./\$(DEPDIR)/foo\.Po' Makefile.in
+ grep '[^a-zA-Z0-9_/]sub/\$(DEPDIR)/bar\.Po' Makefile.in
+ $EGREP '/(\.|sub)/\$\(DEPDIR\)' Makefile.in && exit 1
  
  $AUTOCONF
  # Don't reject slower dependency extractors, for better coverage.
diff --cc t/depcomp8b.sh
index a7dd2bf2e219fcfb6e2328453ffb7177dd0ef19c,3f7f082441a8f3a76f01393de231fcf584a10f4f..ba3a68388d798c0fbabad63ec18b20674534b93f
@@@ -41,10 -45,29 +41,12 @@@ echo 'int bar (void) { return 0; }' > s
  libtoolize
  
  $ACLOCAL
 -# FIXME: stop disabling the warnings in the 'unsupported' category
 -# FIXME: once the 'subdir-objects' option has been mandatory.
 -$AUTOMAKE -a -Wno-unsupported
 -grep '\.P' Makefile.in # For debugging.
 -grep '\./\$(DEPDIR)/foo\.Plo' Makefile.in
 -grep '\./\$(DEPDIR)/bar\.Plo' Makefile.in
 -grep '/\./\$(DEPDIR)' Makefile.in && exit 1
 -
 -$AUTOCONF
 -# Don't reject slower dependency extractors, for better coverage.
 -./configure --enable-dependency-tracking
 -$MAKE
 -DISTCHECK_CONFIGURE_FLAGS='--enable-dependency-tracking' $MAKE distcheck
 -
 -# Try again with subdir-objects option.
 -
 -echo AUTOMAKE_OPTIONS += subdir-objects >> Makefile.am
 +$AUTOMAKE -a
- grep include Makefile.in # For debugging.
- LC_ALL=C grep 'include.*[^a-zA-Z0-9_/]sub/\$(DEPDIR)/bar\.P' Makefile.in
- $EGREP 'include.*/(\.|sub)/\$\(DEPDIR\)' Makefile.in && exit 1
 -$AUTOMAKE
+ grep '\.P' Makefile.in # For debugging.
+ grep '\./\$(DEPDIR)/foo\.Plo' Makefile.in
+ grep '[^a-zA-Z0-9_/]sub/\$(DEPDIR)/bar\.Plo' Makefile.in
+ $EGREP '/(\.|sub)/\$\(DEPDIR\)' Makefile.in && exit 1
  
  $AUTOCONF
  # Don't reject slower dependency extractors, for better coverage.
Simple merge