Re: Sharedir for Module::Build

2009-08-10 Thread Curtis Jewell
On Mon, 10 Aug 2009 07:50 +0200, Thomas Klausner d...@cpan.org wrote: Hi! On Sat, Aug 08, 2009 at 09:07:55AM -0600, Curtis Jewell wrote: This should be close to executable, (I pulled it out of another project of mine) and once cleaned up, should do the trick: Would it be ok for you if I

Re: Sharedir for Module::Build

2009-08-09 Thread Thomas Klausner
Hi! On Sat, Aug 08, 2009 at 09:07:55AM -0600, Curtis Jewell wrote: This should be close to executable, (I pulled it out of another project of mine) and once cleaned up, should do the trick: Would it be ok for you if I tried to integrate your code into Module::Build alongside Davids

Sharedir for Module::Build

2009-08-08 Thread Thomas Klausner
Hi! So, to put my SDL-base Spaceinvaders game [0] on CPAN I need to install some stuff (images) alongside my dist. Previously I used several different homegrown techniques for this, which work. But I'd rather use the sort of common File::ShareDir instead of rolling my own. Unfortunatly,

Re: Sharedir for Module::Build

2009-08-08 Thread David Golden
File::ShareDir support is something I'd like to add to the Module::Build core. I just haven't had time to work on it. I suspect it requires: * adding a share_dir property * adding an ACTION_share_dir routine (that does nothing if sharedir is undef) to copy things to the right spots in blib *

Re: Sharedir for Module::Build

2009-08-08 Thread Curtis Jewell
This should be close to executable, (I pulled it out of another project of mine) and once cleaned up, should do the trick: (It's from http://svn.ali.as/cpan/trunk/Module-Build-Functions/lib/Module/Build/Functions.pm, which is meant to give an M::I -style interface to Module::Build - I just