Skip to content

Commit

Permalink
stop pdlpp_eumm_update_deep installing .c files from lib/
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Nov 22, 2024
1 parent f33e260 commit a64542d
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion Basic/Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ sub init_PM {
$pm->{ $plf->{$f} = _nopl($f) } = _nopl(delete $pm->{$f});
}
@pd_srcs = ::pdlpp_eumm_update_deep($self);
delete @$pm{grep /\.c$/, keys %$pm};
}
}

Expand Down
1 change: 1 addition & 0 deletions Basic/lib/PDL/Core/Dev.pm
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ sub pdlpp_eumm_update_deep {
$eumm->{clean}{FILES} .= join ' ', '', $pmfile, map "\$($_)", @macro_vars;
$eumm->{clean}{FILES} .= $EXTRAS{$f}{OBJECT} if $EXTRAS{$f}{OBJECT};
}
delete @$pm{grep /\.c$/, keys %$pm};
@pd_srcs;
}

Expand Down
2 changes: 0 additions & 2 deletions Libtmp/GSL/Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ undef &MY::init_PM; # suppress warning
my ($self) = @_;
$self->SUPER::init_PM;
@pd_srcs = ::pdlpp_eumm_update_deep($self);
my ($pm) = @$self{qw(PM)};
delete @$pm{grep /\.c$/, keys %$pm};
};

undef &MY::postamble; # suppress warning
Expand Down

0 comments on commit a64542d

Please sign in to comment.