(JUST A IDEA) copied from Scalar-List-Util/Util.xs
[gitmo/Mouse.git] / Makefile.PL
index d89d8f6..b08b726 100755 (executable)
@@ -5,7 +5,22 @@ all_from 'lib/Mouse.pm';
 
 tests 't/*.t t/*/*.t';
 
+build_requires 'Test::Exception';
+build_requires 'Sub::Uplevel';    # required by Test::Exception
 build_requires 'Test::More';
 
-WriteAll;
+auto_include;
 
+WriteMakefile(
+       OBJECT => '$(O_FILES)',
+       clean => {
+               FILES => q{
+                       *.stackdump
+                       *.gcov *.gcda *.gcno
+                       *.out
+                       nytprof
+                       cover_db
+               },
+       },
+
+);