]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] automake: merge '&handle_tests_dejagnu' into '&handle_tests'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 30 Jul 2012 14:04:00 +0000 (16:04 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 30 Jul 2012 15:06:01 +0000 (17:06 +0200)
* automake.in (handle_tests_dejagnu): This is just a trivial
one-liner now, so merge it ...
(handle_tests): ... in here.  And remove a redundant heading
comment.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
automake.in

index a25ba748d415dea63250130d0ac752c9ecaef702..10d03ca3847087377338678534a114e28139ad41 100644 (file)
@@ -4055,20 +4055,11 @@ sub handle_factored_dependencies
     }
 }
 
-
-# &handle_tests_dejagnu ()
-# ------------------------
-sub handle_tests_dejagnu
-{
-    $output_rules .= file_contents ('dejagnu', new Automake::Location);
-}
-
-# Handle TESTS variable and other checks.
 sub handle_tests
 {
   if (option 'dejagnu')
     {
-      &handle_tests_dejagnu;
+      $output_rules .= file_contents ('dejagnu', new Automake::Location);
     }
   else
     {