use warnings;
use inc::Module::Install;
+system($^X, 'author/generate-mouse-tiny.pl', 'lib/Mouse/Tiny.pm') == 0
+ or warn "Cannot generate Mouse::Tiny: $!";
+
name 'Mouse';
all_from 'lib/Mouse.pm';
recommends 'MRO::Compat' if $] < 5.010;
-makemaker_args PL_FILES => { 'author/generate-mouse-tiny.pl' => 'lib/Mouse/Tiny.pm' };
-system 'author/generate-mouse-tiny.pl', 'lib/Mouse/Tiny.pm';
-
if ($Module::Install::AUTHOR) {
local @INC = ('lib', @INC);
require 'lib/Mouse/Spec.pm';