http://www.perlmonks.org?node_id=885624

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

How to stop Module::Build from generating html?

Replies are listed 'Best First'.
Re: How to stop Module::Build from generating html?
by tilly (Archbishop) on Feb 02, 2011 at 05:15 UTC
    Looking at the documentation, it looks like you should be able to:
    ./Build install --binhtml '' --libhtml ''
      Actually that didn't work, it still generates blib/libhtml/site/lib/MBhtml.html
      How would I get cpan or cpanp (what i prefer) to pass those along? CPANPLUS buildflags only works for Build.PL :/
Re: How to stop Module::Build from generating html?
by Anonymous Monk on Feb 09, 2011 at 01:48 UTC
    This works, it doesn't try to generate or install man or html, regardless of any Config options
    perl Build.PL --config installhtml1dir= installhtml3dir= installman1d +ir= installman3dir= installsitehtml1dir= installsitehtml3dir= install +siteman1dir= installsiteman3dir= installvendorhtml1dir= installvendor +html3dir= installvendorman1dir= installvendorman3dir=
    For ActivePerl the following is sufficient
    perl Build.PL--config installhtmldir=
      To configure cpanp to use this, you need
      $ cpanp CPANPLUS::Shell::Default -- CPAN exploration and module installation ( +v0.9011) *** Please report bugs to <bug-cpanplus@rt.cpan.org>. *** Using CPANPLUS::Backend v0.9011. ReadLine support disabled. *** Type 'p' now to show start up log Did you know... You can update CPANPLUS by running: 's selfupdate' CPAN Terminal> CPAN Terminal> s conf buildflags--config installhtmldir= Key 'buildflags' was set to '--config installhtmldir=' CPAN Terminal> s save Configuration successfully saved to CPANPLUS::Config::User (....cpanplus\lib\CPANPLUS\Config\User.pm)
      Editing .cpanplus\lib\CPANPLUS\Config\User.pm by hand is easier :)