# The following was supposedly scribed by
# Marvin Humphrey
# on Thursday 07 July 2005 12:44 am:

>Since $name doesn't correspond to the Inline C module in my distro, I
>   believe I'm going to have to hack WriteMakeFile for things to work.

I think you just want to have one makefile for each module (or one for 
the Inline one and another for the pure stuff.)   It's just like a 
bundle.

Here's the toplevel makefile:
##########
use ExtUtils::MakeMaker;

WriteMakefile(
    NAME          => 'CAD::Drawing::Bundle-PP',
    VERSION       => 0.01, 
    INST_LIB      => './blib/lib',
    INST_ARCHLIB  => './blib/arch',
);
###########

And the tree:
###########
CAD-Drawing-Bundle-PP-0.01/
CAD-Drawing-Bundle-PP-0.01/Drawing/
CAD-Drawing-Bundle-PP-0.01/Drawing/IO/
<snip>
CAD-Drawing-Bundle-PP-0.01/Drawing/IO/MANIFEST
CAD-Drawing-Bundle-PP-0.01/Drawing/IO/Makefile.PL
CAD-Drawing-Bundle-PP-0.01/Drawing/IO/README
CAD-Drawing-Bundle-PP-0.01/Drawing/IO/IO.pm
CAD-Drawing-Bundle-PP-0.01/Drawing/IO/Changes
CAD-Drawing-Bundle-PP-0.01/Drawing/IO/test.pl
<snip>
CAD-Drawing-Bundle-PP-0.01/Drawing/Drawing.pm
CAD-Drawing-Bundle-PP-0.01/Drawing/MANIFEST
CAD-Drawing-Bundle-PP-0.01/Drawing/Changes
CAD-Drawing-Bundle-PP-0.01/Drawing/Makefile.PL
CAD-Drawing-Bundle-PP-0.01/Drawing/test.pl
CAD-Drawing-Bundle-PP-0.01/Drawing/README
CAD-Drawing-Bundle-PP-0.01/Calc/
CAD-Drawing-Bundle-PP-0.01/Calc/test.pl
CAD-Drawing-Bundle-PP-0.01/Calc/Calc.pm
CAD-Drawing-Bundle-PP-0.01/Calc/MANIFEST
CAD-Drawing-Bundle-PP-0.01/Calc/Makefile.PL
CAD-Drawing-Bundle-PP-0.01/Calc/README
CAD-Drawing-Bundle-PP-0.01/Calc/Changes
CAD-Drawing-Bundle-PP-0.01/Makefile.PL
CAD-Drawing-Bundle-PP-0.01/MANIFEST
###########

The Makefile.PL is the toplevel one.  I'm sure there's a neater way to 
do it, but that's all I've got for now.

--Eric
-- 
"It ain't those parts of the Bible that I can't understand that
bother me, it's the parts that I do understand."
--Mark Twain
---------------------------------------------
    http://scratchcomputing.com
---------------------------------------------

Reply via email to