... for the output info files.

* automake.in (handle_texinfo_source): Here, in particular removing
the local variable '$dsfx'.

Signed-off-by: Stefano Lattarini <[email protected]>
---
 automake.in |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/automake.in b/automake.in
index 02b75b7..cfba415 100644
--- a/automake.in
+++ b/automake.in
@@ -2852,13 +2852,12 @@ sub handle_texinfo_source ($$$@)
 {
   my ($source, $dest, $insrc, @deps) = @_;
 
-  my ($dpfx, $dsfx) = ($dest =~ /^(.*?)(\.[^.]*)?$/);
-
   my $sdir = dirname $source;
   my $makeinfoflags = ($sdir eq '.' && dirname ($dest) eq '.')
                       ? '-I $(srcdir)'
                       : "-I $sdir -I \$(srcdir)/$sdir";
 
+  (my $dpfx = $dest) =~ s/\.info$//;
   $output_rules .= file_contents ('texi-spec',
                                  new Automake::Location,
                                  DEPS             => "@deps",
-- 
1.7.9.5


Reply via email to