[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Automake-NG] [PATCH 3/4] [ng] automake: drop unused argument in '&handl
From: |
Stefano Lattarini |
Subject: |
[Automake-NG] [PATCH 3/4] [ng] automake: drop unused argument in '&handle_clean' |
Date: |
Tue, 31 Jul 2012 00:56:12 +0200 |
* automake.in (handle_clean): Here, the argument '$makefile'. And remove
the now-redundant description of the function.
(generate_makefile): Adjust.
Signed-off-by: Stefano Lattarini <address@hidden>
---
automake.in | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/automake.in b/automake.in
index 5a311af..bc5b984 100644
--- a/automake.in
+++ b/automake.in
@@ -3874,13 +3874,8 @@ sub handle_user_recursion ()
}
}
-# handle_clean()
-# --------------
-# Handle all 'clean' targets.
-sub handle_clean ($)
+sub handle_clean ()
{
- my ($makefile) = @_;
-
my (%f, %d);
my @fkeys = keys %clean_files;
@@ -6823,7 +6818,7 @@ sub generate_makefile ($$)
# $(BUILT_SOURCES), and related stuff.
verbatim ('common-targets');
- handle_clean ($makefile);
+ handle_clean ();
handle_factored_dependencies;
# Comes last, because all the above procedures may have
--
1.7.12.rc0