Makefile.PL 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. use 5.00405;
  2. use ExtUtils::MakeMaker;
  3. # See lib/ExtUtils/MakeMaker.pm for details of how to influence
  4. # the contents of the Makefile that is written.
  5. WriteMakefile(
  6. NAME => 'Texinfo',
  7. VERSION_FROM => 'Texinfo/Parser.pm', # finds $VERSION
  8. ABSTRACT => 'Texinfo Parser and Converters',
  9. PREREQ_PM => {"Encode" => 0,
  10. "Data::Dumper" => 0,
  11. "File::Spec" => 0,
  12. "Config" => 0,
  13. "Carp" => 0,
  14. "Unicode::Normalize" => 0,
  15. "File::Basename" => 0,
  16. "File::Copy" => 0,
  17. "Getopt::Long" => 0,
  18. "Unicode::EastAsianWidth" => 0,
  19. "Text::Unidecode" => 0,
  20. "Locale::Messages" => 0,
  21. },
  22. BUILD_REQUIRES => {"Data::Compare" => 0,
  23. "Test::Deep" => 0,
  24. "Test::More" => "0.88",
  25. "Storable" => 0,
  26. },
  27. PMLIBDIRS => [ 'Texinfo', 'LocaleData', 'DebugTexinfo' ],
  28. EXE_FILES => [ 'texi2any' ],
  29. # FIXME MakeMaker seems to support only subdirectory with one level.
  30. # The blib directory is put in ../, so in Texinfo/Convert/ which
  31. # means that XSParagraph is not used in tests. It should be
  32. # correctly installed, though.
  33. DIR => ['Texinfo/Convert/XSParagraph/'],
  34. ($] >= 5.005 ? ## Add these new keywords supported since 5.005
  35. (
  36. AUTHOR => 'Patrice Dumas <pertusus@free.fr>') : ()),
  37. );
  38. #package MY;
  39. #sub test
  40. #{
  41. # my $inherited = shift->SUPER::test(@_);
  42. # print STDERR "|$inherited|\n";
  43. # $inherited;
  44. #}