Re: [Module::Build] how about shared data
Status: Beta
Brought to you by:
kwilliams
|
From: Jaap K. <j.g...@st...> - 2004-01-19 17:42:40
|
On Sat, 17 Jan 2004 15:18:03 -0500 Randy W. Sims wrote: : On 1/15/2004 11:35 AM, Jaap Karssenberg wrote: : > Sory to bother you again, but what happens if I need to install : > stuff into "/usr/share/$program_name" ? I know perl has no config : > value for this but it seems rather essential for packages that : > contain a complete program. : : Have you read the section "How Installation Paths are Determined" in : the Module::Build manpage? Be aware that not all platforms have a : '/usr/share/' directory structure to install into. I read the man page and I'm also aware of the portability issues. I need a place to install data files and this should default to "share" on unix systems. I now added "share", "etc" and "docs" install paths to an overloaded version of Module::Build. I don't really like this sollution because I needed to modify M:B's internal data and consider it an ugly way to do it (also no sure what happens with other versions of M:B). But at least the user can modify them with a argument to Build.PL . The real issue is that Config.pm doesn't support these kind of installpaths, but I think it would be nice for Module::Build to supply them, this could also solve part of the portability issues. -- ) ( Jaap Karssenberg || Pardus [Larus] | |0| | : : http://pardus-larus.student.utwente.nl/~pardus | | |0| ) \ / ( |0|0|0| ",.*'*.," Proud owner of "Perl6 Essentials" 1st edition :) wannabe |