]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
deps: partially revert commit `v1.11-512-geeee551'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 20 Oct 2011 20:25:45 +0000 (22:25 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Thu, 20 Oct 2011 20:26:08 +0000 (22:26 +0200)
This change partly reverts commit "Create subdirs for generated
sources even when not dep tracking", of 2011-04-02.
That commit had caused the bugs #8485 and #8526.  Since we are
nearing the bug-fixing automake release 1.11.2, the safest policy
at the moment is to just revert the problematic hunks: an older,
known bug is better than a regression.

* automake.in (handle_single_transform): Don't add a dirstamp
dependency, even when $object is derived and lands in a subdir.
* tests/Makefile.am (XFAIL_TESTS): Add lex-subobj-nodep.test,
remove yacc-dist-nobuild-subdir.test.

ChangeLog
automake.in
tests/Makefile.am
tests/Makefile.in

index a022b09964435231f60fbaf5b1bbce0f00a778aa..64284f8a935c508db5f7d925eaf1412f1369eb37 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2011-10-20  Stefano Lattarini  <stefano.lattarini@gmail.com>
+
+       deps: partially revert commit `v1.11-512-geeee551'
+       This change partly reverts commit "Create subdirs for generated
+       sources even when not dep tracking", of 2011-04-02.
+       That commit had caused the bugs #8485 and #8526.  Since we are
+       nearing the bug-fixing automake release 1.11.2, the safest policy
+       at the moment is to just revert the problematic hunks: an older,
+       known bug is better than a regression.
+       * automake.in (handle_single_transform): Don't add a dirstamp
+       dependency, even when $object is derived and lands in a subdir.
+       * tests/Makefile.am (XFAIL_TESTS): Add lex-subobj-nodep.test,
+       remove yacc-dist-nobuild-subdir.test.
+
 2011-10-18  Stefano Lattarini  <stefano.lattarini@gmail.com>
 
        tests: fix spurious failure with FreeBSD make and Yacc in VPATH
index 516e594c172bf2eab51ebdccf6ed790cd93b1909..db7f3c64ba9f4bafcf15942fea1677d247478a34 100755 (executable)
@@ -2053,15 +2053,6 @@ sub handle_single_transform ($$$$$%)
            # derived from is not.
            &push_dist_common ($object)
              unless ($topparent =~ /^(?:nobase_)?nodist_/);
-
-           # If resulting derived source is in a subdir, we need to make
-           # sure the subdir exists at build time.
-           if ($object =~ /\//)
-             {
-               my $dirstamp = require_build_directory_maybe ($object);
-               depend ($object, $dirstamp)
-                 if ($dirstamp);
-             }
            next;
          }
 
index 36ac88e08c91d64dbacd02699172ec79e0863064..45e50f86f1a3720f231a8ab293a447871b7095ef 100644 (file)
@@ -25,7 +25,7 @@ dist-auxfile-2.test \
 gcj6.test \
 java-nobase.test \
 pr8365-remake-timing.test \
-yacc-dist-nobuild-subdir.test \
+lex-subobj-nodep.test \
 vala-vpath.test \
 txinfo5.test
 
index 8bdd1075c9ea99baae2a9df56b8b67e22300db03..be98a4ea1a840a77d39ad88d1cde2bc87d0f170f 100644 (file)
@@ -296,7 +296,7 @@ dist-auxfile-2.test \
 gcj6.test \
 java-nobase.test \
 pr8365-remake-timing.test \
-yacc-dist-nobuild-subdir.test \
+lex-subobj-nodep.test \
 vala-vpath.test \
 txinfo5.test