Skip Menu |

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

Report information
The Basics
Id: 75705
Status: resolved
Priority: 0/
Queue: ExtUtils-MakeMaker

People
Owner: Nobody in particular
Requestors: bram.stappers [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Setting INSTALL_BASE does not work for HTMLDIRs
Date: Mon, 12 Mar 2012 10:09:29 +0100
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Bram Stappers <bram.stappers [...] gmail.com>
About Module: ExtUtils::MakeMaker version 6.55_02 (Active)Perl 5.10.1 (details attached) Machine: Linux quadje 2.6.27.41-170.2.117.fc10.x86_64 #1 SMP Thu Dec 10 10:36:29 EST 2009 x86_64 x86_64 x86_64 GNU/Linux Problem I am installing modules via cpan. To influence the installation location I am using INSTALL_BASE as follows: export PERL_MM_OPT=INSTALL_BASE=xxx This works great for Perl modules and dynamic libraries. However, installation attempts to install HTML documentation in the root (/html, /site or c:\html, c:\site on Windows if c: is the current drive). By examining the generated Makefile, I found out I have to set the following additional variables to fix this: INSTALLHTMLDIR INSTALLSITEHTMLDIR INSTALLVENDORHTMLDIR I expected these to be set automatically when using INSTALL_BASE. In fact, they do not get set in this case which is why the resulting HTML directories start at the file system root. The request is to set the variables above automatically when using INSTALL_BASE.

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #75705] Setting INSTALL_BASE does not work for HTMLDIRs
Date: Tue, 13 Mar 2012 18:54:02 -0700
To: bug-ExtUtils-MakeMaker [...] rt.cpan.org
From: Michael G Schwern <schwern [...] pobox.com>
Thanks for the report. The HTMLDIR code is a patch only in ActiveState's Perl and was never integrated into the MakeMaker mainline. Let me see how to get this information to ActiveState in a useful manner.
From: bram.stappers [...] gmail.com
Thank you. I found this in the ActiveState bug tracker: http://bugs.activestate.com/show_bug.cgi?id=82294. I have added a cross- link to this ticket.
HTML generation support was removed some time ago. Further to the discussion in https://github.com/Perl-Toolchain-Gang/ExtUtils-MakeMaker/issues/111, I am extracting the points from the four HTML*DIR RT tickets onto the GH issue, then closing the tickets. The points disclosed in this ticket (must respect INSTALL* and PREFIX) are already covered by schwern's comment on a design for a doc plugin system. I am marking this ticket as resolved. Someone with an appropriate login ought to post a link from the AS ticket to the GH issue.