automake-ng
[Top][All Lists]
Advanced

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

[Automake-NG] [FYI] [ng] cleanup: remove a now-unused variable


From: Stefano Lattarini
Subject: [Automake-NG] [FYI] [ng] cleanup: remove a now-unused variable
Date: Sat, 11 Aug 2012 14:34:44 +0200

* automake.in (handle_dist): Here: '%transform'.

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

diff --git a/automake.in b/automake.in
index 4ca0525..f35e4e1 100644
--- a/automake.in
+++ b/automake.in
@@ -3172,9 +3172,6 @@ sub user_phony_rule ($)
 # Handle 'dist' target.
 sub handle_dist ()
 {
-  # Substitutions for distdir.am
-  my %transform;
-
   # Define DIST_SUBDIRS.  This must always be done, regardless of the
   # no-dist setting: target like 'distclean' or 'maintainer-clean' use it.
   my $subdirs = var ('SUBDIRS');
@@ -3304,9 +3301,7 @@ sub handle_dist ()
   define_variable ('am.dist.extra-targets', INTERNAL, @dist_targets);
   define_variable ('am.dist.common-files.internal', INTERNAL, @dist_common);
 
-  $output_rules .= &file_contents ('distdir',
-                                  new Automake::Location,
-                                  %transform);
+  $output_rules .= &file_contents ('distdir', new Automake::Location);
   verbatim ('distcheck') if $relative_dir eq '.';
 }
 
-- 
1.7.12.rc0




reply via email to

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