|Subject:||Sub-directory builds don't work|
Module::Install doesn't seem to handle distributions with sub-directory Makefile.PL's, at least on Win32. The attached FooBar-0.01.tar.gz shows the problem. This distribution contains a FooBar module, with two further modules in Foo and Bar sub-directories called FooBar::Foo and FooBar::Bar. The two sub-directory modules are XS extensions with their own Makefile.PL's, referred to via DIR from the top-level Makefile.PL. Using ExtUtils::MakeMaker, all one had to do was run the top-level Makefile.PL and all three would get run. Three Makefiles were created, and everything was built when running "nmake". However, having switched to inc::Module::Install (supposedly a drop-in replacement for EU::MM) I now find that it doesn't work. Running the top-level Makefile.PL outputs this: C:\Temp\FooBar-0.01>perl Makefile.PL Checking if your kit is complete... Looks good Writing Makefile for FooBar Writing Makefile for FooBar::Bar Writing Makefile for FooBar::Foo Looks good, but unfortunately all three Makefile's get written into the top-level directory, so that all you are left with is the FooBar::Foo Makefile in the top-level! Needless to say, running "nmake" now doesn't anything like what it should do. I'm running Module::Install 0.31 with Perl 5.8.3 on Windows XP / MSVC++ 6.0. A fix for this would be greatly appreciated as this example distribution exactly mimics the layout of a real distribution that I'm working on. Cheers, - Steve
Message body not shown because it is not plain text.