... for the output info files.
* automake.in (handle_texinfo_source): Here, in particular removing
the local variable '$dsfx'.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
{
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",