Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
make module-install.pl copy .pod files
  • Loading branch information
moritz committed Jun 10, 2012
1 parent c27e2ab commit 36cc46c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions skel/tools/build/module-install.pl
Expand Up @@ -21,14 +21,14 @@
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;
Expand Down

0 comments on commit 36cc46c

Please sign in to comment.