in reply to Re: Re: Re: Module::Build and the PPM
in thread Module::Build and the PPM
The first thing that really annoyed me was, that there was no pass-through Makefile.PL included and that I had to hunt down one of your distributions to find a Makefile.PL so that the make && make test && make install dance still works. I don't like make, but it is a very convenient way to unify my automated nightly testing scripts. For something that claims to be the next best thing, this was a bad decision.
Module::Build has come with Module::Build::Compat for quite some time. Just do this:
Module::Build->new( module_name => ..., create_makefile_pl => 'passthrough', )->create_build_script;
There are other options that can be passed to "create_makefile_pl". See Module::Build::Compat for details.
The nice bit about this is that Module::Build will simply re-generate the Makefile.PL each time you run "./Build dist". So if Module::Build improves compatibility, you just install the new improved version and next time you create a distro tarball, you get the improved version of the Makefile.PL script automatically.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Re: Re: Module::Build and the PPM
by tilly (Archbishop) on May 22, 2004 at 02:18 UTC | |
by adrianh (Chancellor) on May 22, 2004 at 09:45 UTC | |
|
Re: Re: Re: Re: Re: Module::Build and the PPM
by Corion (Patriarch) on May 19, 2004 at 08:29 UTC | |
by autarch (Hermit) on May 19, 2004 at 16:25 UTC | |
by demerphq (Chancellor) on May 19, 2004 at 18:25 UTC | |
by autarch (Hermit) on May 19, 2004 at 18:40 UTC | |
by demerphq (Chancellor) on May 19, 2004 at 20:14 UTC | |
|