use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.

my $tag= ( $] >= 5.008) ? "5.6" : "5.8";
 
WriteMakefile(
    'NAME'		=> 'Roman',
    'VERSION_FROM'	=> 'Roman.pm', # finds $VERSION
    'PREREQ_PM'		=> {}, # e.g., Module::Name => 1.1
    ($] >= 5.004 ?    ## Add these new keywords supported since 5.005
      (ABSTRACT_FROM => 'Roman.pm', # retrieve abstract from module
       AUTHOR     => 'OZAWA Sakuro <ozawa@aisoft.co.jp> Michel Rodriguez <mirod@cpan.org>') : ()),
    'depend'     => { 'Roman.pm' => "FORCE\n\techo \"building Roman.pm\"\n\t\$(PERL) -p -e's{^(.*\# $tag)}{\#$1}' Roman.pm.noarch > Roman.pm",
		                  'FORCE'   => '',
									  },
);
