diff options
author | Moritz Lenz <moritz@faui2k3.org> | 2012-06-10 17:29:21 +0200 |
---|---|---|
committer | Moritz Lenz <moritz@faui2k3.org> | 2012-06-10 17:29:21 +0200 |
commit | 36cc46c41ed5daef04f98beb0c0720da191a98ef (patch) | |
tree | 3ca87aa7673655d4b183e41a9492d2d4902b29be | |
parent | c27e2ab3d7f4e6e554ac244521bef4039f9730ad (diff) |
make module-install.pl copy .pod files
-rw-r--r-- | skel/tools/build/module-install.pl | 4 |
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; |