[Module::Build] Re: Installing arbitrary files with Module::Build
Status: Beta
Brought to you by:
kwilliams
|
From: Ken W. <ke...@ma...> - 2003-10-09 21:19:18
|
Hi Andrew, Could you please send this message to the module-build list, at mod...@li... ? That way others could benefit from the answers too. If you don't feel like subscribing to the list, I'll just approve your message(s) by hand. Thanks, -Ken On Thursday, October 9, 2003, at 04:14 PM, Andrew J. Korty wrote: > Greetings. I've been trying to decide whether to use Module::Build > for a new project I'm working on. > > One thing that's very difficult with MakeMaker is installing files > other than scripts and modules. I often want to install configuration > files in /etc, Mason components in the document root, etc. I had been > doing this with MakeMaker by overriding the method that produces the > install target and substituting commands to install files to other > destinations. Can Module::Build do this more elegantly? > > I also wonder if Module::Build can help me with another problem > brought about by a recent change in MakeMaker. Although I can still > specify custom parameters that may be passed via environment variables > when executing Makefile.PL, it will no longer let me pass my own > custom parameters to WriteMakefile. I do that for things like Mason > component roots. We need to know the component root at install time > so we can install the components there, but we also need it at run > time to create the ApacheHandler object. So I'd like to be able to > pass it just once to WriteMakefile, > > -- > Andrew J. Korty, Principal Security Engineer, GCIA, GCFA > Office of the Vice President for Information Technology > Indiana University |