Sun May 25 15:49:48 2014: Request 95809 was acted upon.
Transaction: Correspondence added by s...@parasite.cc
       Queue: Inline
     Subject: Re: [rt.cpan.org #95809] [PATCH] Using Inline in a distribution 
with multiple modules
   Broken in: (no value)
    Severity: (no value)
       Owner: Nobody
  Requestors: s...@parasite.cc
      Status: open
 Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=95809 >


Rob,

I've attached Foo.tar.gz which has an example of how to use Inline::MakeMaker 
with the new patch.

I noticed that in your Foo.tar.gz that you originally built each module had its 
own Makefile.PL, like each was its own distribution.  For what I'm working on I 
have a single distribution containing multiple modules that use Inline.  I have 
changed the structure of my attached Foo distribution to mimic this.  There is 
just one top level Makefile.PL and still the Foo::Bar and Foo::Bar::Baz modules 
using Inline.

What I wanted (and I originally thought Inline::MakeMaker would do) is to 
compile all modules in the distribution that use Inline during the course of 
'perl Makefile.PL; make'.  Then when 'make install' was run that the compiled 
code would be installed along side the rest of the distribution.  From what I 
could tell this only works for a single module, the one named in the 
Makefile.PL.

My patch addresses this by generating rules to compile all modules in the 
'INLINE_MODULES' argument to Inline::MakeMaker.

Hopefully this makes sense and that my attachment will help clear up what I'm 
thinking.  Then again, maybe I'm completely off base here as this was my first 
encounter with Inline and I may be missing something obvious!

Thanks for your time (and patience),
Jason


Attachment: Foo.tar.gz
Description: application/gzip

Reply via email to