Subject: | [PATCH] Fix documentation build |
Hello,
I saw the following errors while trying to install Perl::Critic::Bangs :
Running [/usr/bin/make ]...
cp ProhibitCommentedOutCode.pm
blib/lib/Perl/Critic/Policy/Bangs/ProhibitCommentedOutCode.pm
cp ProhibitNumberedNames.pm
blib/lib/Perl/Critic/Policy/Bangs/ProhibitNumberedNames.pm
cp ProhibitVagueNames.pm
blib/lib/Perl/Critic/Policy/Bangs/ProhibitVagueNames.pm
cp ProhibitNoPlan.pm blib/lib/Perl/Critic/Policy/Bangs/ProhibitNoPlan.pm
cp Bangs.pm blib/lib/Perl/Critic/Bangs.pm
cp ProhibitFlagComments.pm
blib/lib/Perl/Critic/Policy/Bangs/ProhibitFlagComments.pm
cp ProhibitRefProtoOrProto.pm
blib/lib/Perl/Critic/Policy/Bangs/ProhibitRefProtoOrProto.pm
Can't write-open /Perl::Critic::Bangs.3pm: Permission non accordée at
/usr/lib/perl5/5.8.7/ExtUtils/Command/MM.pm line 131
Manifying
blib/man3/Perl::Critic::Policy::Bangs::ProhibitCommentedOutCode.3pm
Manifying blib/man3/Perl::Critic::Policy::Bangs::ProhibitNumberedNames.3pm
Manifying blib/man3/Perl::Critic::Policy::Bangs::ProhibitVagueNames.3pm
Manifying blib/man3/Perl::Critic::Policy::Bangs::ProhibitNoPlan.3pm
Manifying /Perl::Critic::Bangs.3pm
make: *** [manifypods] Erreur 9
The attached patch fixes the build. Tests pass. Install works.
Regards
--
Close the world, txEn eht nepO.
Subject: | Perl-Critic-Bangs-0.22-Makefile.PL.diff |
--- Makefile.PL.orig 2006-07-14 18:35:07.000000000 +0200
+++ Makefile.PL 2006-12-11 14:38:26.718411861 +0100
@@ -10,7 +10,7 @@
for my $file ( @files ) {
if ( $file eq "Bangs.pm" ) {
$filemap{$file} = '$(INST_LIBDIR)/Bangs.pm';
- $podmap{$file} = '$(INST_PODDIR)/Perl::Critic::Bangs.3pm';
+ $podmap{$file} = '$(INST_MAN3DIR)/Perl::Critic::Bangs.3pm';
}
else {
$filemap{$file} = "\$(INST_LIBDIR)/Policy/Bangs/$file";