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.