Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Ovid (2709)

  (email not shown publicly)
AOL IM: ovidperl (Add Buddy, Send Message)

Stuff with the Perl Foundation. A couple of patches in the Perl core. A few CPAN modules. That about sums it up.

Journal of Ovid (2709)

Friday January 07, 2005
03:57 PM

Working with both Build.PL and Makefile.PL

[ #22622 ]

I call this script reload. It's very handy when I'm working with a variety of codebases that use both Module::Build and ExtUtils::MakeMaker.

if [ -f Build.PL ]; then
    if [ -f Build ]; then
        ./Build realclean
    perl Build.PL && ./Build && ./Build test
elif [ -f Makefile.PL ]; then
    if [ -f Makefile ]; then
        make realclean
    perl Makefile.PL && make &&  make test
    echo Nothing to reload!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.