This queue is for tickets about the ExtUtils-Install CPAN distribution.

Report information
The Basics
Id:
37727
Status:
resolved
Priority:
Low/Low

People
Owner:
Nobody in particular
Requestors:
GAAS [...] cpan.org
Cc:
AdminCc:

BugTracker
Severity:
(no value)
Broken in:
(no value)
Fixed in:
(no value)



Subject: Install from blib/html into $Config{installhtmldir}
In ActivePerl we set up $Config{installhtmldir} and make the html version of the module docs be be installed using the following patch (relative to 1.50). It would be an helpful for us if also the standard version of ExtUtils::Intall supported this in the cases where users upgrade the module from CPAN.
Subject: ap-html.patch
commit 2abe313a75e4e1e79c98ab844d5621a3757df44d Author: Gisle Aas <gisle@aas.no> Date: Wed Jul 16 12:24:09 2008 +0200 Install generated HTML docs if $Config{installhtmldir} is defined. ActivePerl uses this. diff --git a/lib/ExtUtils/Install.pm b/lib/ExtUtils/Install.pm index 0b4a390..5e4fcd8 100755 --- a/lib/ExtUtils/Install.pm +++ b/lib/ExtUtils/Install.pm @@ -950,6 +950,13 @@ sub install_default { my $INST_SCRIPT = File::Spec->catdir($Curdir,'blib','script'); my $INST_MAN1DIR = File::Spec->catdir($Curdir,'blib','man1'); my $INST_MAN3DIR = File::Spec->catdir($Curdir,'blib','man3'); + + my @INST_HTML; + if($Config{installhtmldir}) { + my $INST_HTMLDIR = File::Spec->catdir($Curdir,'blib','html'); + @INST_HTML = ($INST_HTMLDIR => $Config{installhtmldir}); + } + install({ read => "$Config{sitearchexp}/auto/$FULLEXT/.packlist", write => "$Config{installsitearch}/auto/$FULLEXT/.packlist", @@ -961,6 +968,7 @@ sub install_default { $INST_SCRIPT => $Config{installscript}, $INST_MAN1DIR => $Config{installman1dir}, $INST_MAN3DIR => $Config{installman3dir}, + @INST_HTML, },1,0,0); }
Applied as part of the 1.50_02 release


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.