Subject: | Don't use ExtUtils::Install to copy into blib |
Module::Install::Share uses MOD_INSTALL, the ExtUtils::Install macro, to
copy files into blib. Don't do that, use CP.
Why? ExtUtils::Install has hooks that can be toyed with directly to
change where it installs things. Namely PERL_INSTALL_ROOT which acts
kind of like DESTDIR. If an install tool sets PERL_INSTALL_ROOT you'll
find your files ending up who knows where. The rpm build tool did this.
For example, try running "make install" on SQL::Translator with
PERL_INSTALL_ROOT set. You'll see the share dir winds up in
/$PERL_INSTALL_ROOT/blib/...