aboutsummaryrefslogtreecommitdiff
path: root/skel/tools
diff options
context:
space:
mode:
Diffstat (limited to 'skel/tools')
-rw-r--r--skel/tools/build/module-install.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/skel/tools/build/module-install.pl b/skel/tools/build/module-install.pl
index 1ba1070..7fa4fbe 100644
--- a/skel/tools/build/module-install.pl
+++ b/skel/tools/build/module-install.pl
@@ -21,14 +21,14 @@ while (@ARGV) {
find({ no_chdir=>1, wanted => \&libcopy }, $mlib);
sub libcopy {
- return unless /\.pm6?/;
+ return unless /\.pm6?|\.pod/;
my $source = $File::Find::name;
my $target = $source;
$target =~ s/\Q$mlib\E/$perl6lib/;
print "$source => $target\n";
mkpath dirname($target);
copy($source, $target) or die "copy failed: $!\n";
- push @mod_pms, $target;
+ push @mod_pms, $target if $target =~ /\.pm6?/;
}
my %usages_of;