automake-ng
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-NG] [FYI] [ng] automake: merge '&handle_tests_dejagnu' into '&


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] [ng] automake: merge '&handle_tests_dejagnu' into '&handle_tests'
Date: Mon, 30 Jul 2012 16:29:41 +0200

* automake.in (handle_tests_dejagnu): This is just a trivial
one-liner no, so merge it ...
(handle_tests): ... in here.  And remove a redundant heading
comment.

Signed-off-by: Stefano Lattarini <address@hidden>
---
 automake.in | 11 +----------
 1 file changed, 1 insertion(+), 10 deletions(-)

diff --git a/automake.in b/automake.in
index a25ba74..10d03ca 100644
--- a/automake.in
+++ b/automake.in
@@ -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
     {
-- 
1.7.12.rc0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]