From: Arnar Mar Hrafnkelsson Date: Mon, 14 May 2001 10:24:40 +0000 (+0000) Subject: Made Makefile.PL run $Config{make} lib/Imager/Regops.pm so it exists X-Git-Tag: Imager-0.48^2~640 X-Git-Url: http://git.imager.perl.org/imager.git/commitdiff_plain/4dce694d22654e9bba936cf3f0197909613dcf7f Made Makefile.PL run $Config{make} lib/Imager/Regops.pm so it exists for make test and make install. --- diff --git a/Makefile.PL b/Makefile.PL index b0c06b62..6793747f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -80,6 +80,9 @@ if ($] ge '5.005') { if ($VERBOSE) { print Dumper(\%opts); } mkdir('testout',0777); # since we cannot include it in the archive. WriteMakefile(%opts); +print "Generating Regops.pm\n"; +system($Config{"make"}." lib/Imager/Regops.pm") and die "Failed to generate lib/Imager/Regops.pm"; + exit; @@ -157,7 +160,7 @@ sub gifcheck { } # we need the version in a #ifdefable form - + $F_DEFINE .= "-DIM_GIFMAJOR=$major -DIM_GIFMINOR=$minor"; }