Ok, the EXE_FILES parameter in Makefile.PL allows you to specify the the files to be installed in the bin. According to the ExtUtils::MakeMaker doco, there is a prompt command, but it's not clear how to use it. I'm guessing if I can piece things together then somehow the prompted value could be used to set the location to the prompted value | [reply] |
perl Makefile.PL INSTALLSCRIPT=something/custom/bin
make
make test
make install
or if you process @ARGV yourselfmake install INSTALLSCRIPT=something/custom/bin
Don't forget the PL_FILES option. | [reply] [d/l] [select] |
INSTALLSCRIPT says where to install them (which should be set automatically by PREFIX and the newer & better INSTALL_BASE), not what to install.
PL_FILES is completely unrelated.
| [reply] [d/l] [select] |
not what to install.
Astroboy answered the first part of the question (EXE_FILES) himself.
INSTALLSCRIPT/prompt answers the second part.
PL_FILES is completely unrelated.
PL_FILES is simply important; It needs to be managed. Many (even the initiated) overlook that it will install your demo.pl /example.pl /generatefoo.pl into the module tree by default.
Sometimes you need to read the question closely.
Thank you
| [reply] |