On Wed, Nov 3, 2010 at 6:47 PM, Michael G Schwern <schw...@pobox.com> wrote:

> On 2010.11.3 3:18 PM, Bill Moseley wrote:
> > Is there a way to get the generated Makefile to remove any .svn dirs?
> >
>


> MakeMaker should be ignoring .svn directories.  They should not be copied
> into
>  blib.  It's possible Module::Install or Module::Install::Catalyst has
> broken
> this.  I'd recommend trying a straight MakeMaker setup and see if the
> problem
> persists.  If it doesn't, talk to the MI folks.
>


MakeMaker does not copy the .svn directories.  But Module::Install::Catalyst
uses File::Copy::Recursive which just copies entire directories into blib.
 And it does that copy when running Makefile.PL, not at "make" time so, I
guess I can just prune them in Makefile.PL.

M::I::Catalyst basically copies almost all directories found at the top
level into blib.  It would indeed be much nicer if it worked like normal
make.  Module::Install::Catalyst, as I mentioned before, can take a long
time to run with large distributions -- like a few minutes.  I would much
prefer copying only files when they change at make time, of course.

I also notice .svn directories end up in blib with my "share" directories in
other distributions (I use File::ShareDir).  After I run "make" the .svn
directories only end up in blib/lib/share/, not any other directories.

So, in that case I'd need some way to prune the .svn dirs after running
make.




-- 
Bill Moseley
mose...@hank.org

Reply via email to