]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
[ng] automake: drop unused argument in '&handle_clean'
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 30 Jul 2012 21:23:14 +0000 (23:23 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Tue, 31 Jul 2012 02:39:19 +0000 (04:39 +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 <stefano.lattarini@gmail.com>
automake.in

index 6519a77761ef260f5e6b15a2a6d013f796282bd7..4bfe71b71ac6ab5ddb03feed6719a759241d0c63 100644 (file)
@@ -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;
@@ -6825,7 +6820,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