Source files of fsfe.org, pdfreaders.org, freeyourandroid.org, ilovefs.org, drm.info, and test.fsfe.org. Contribute: https://fsfe.org/contribute/web/ https://fsfe.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Makefile.PL 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. use Cwd qw (abs_path);
  2. use File::Basename qw (dirname);
  3. my $root;
  4. BEGIN { $root = abs_path (dirname (__FILE__)) };
  5. use lib "$root/tools";
  6. use ExtUtils::MakeMaker;
  7. use strict;
  8. use warnings;
  9. my %att = (
  10. NAME => 'FSFE Website', # Shut up MM warning only
  11. # The version of MakeMaker is sadly too old for MIN_PERL_VERSION
  12. # MIN_PERL_VERSION => 5.008,
  13. PREREQ_FATAL => 1,
  14. PREREQ_PM => {
  15. 'Exporter' => 0,
  16. 'Carp' => 0,
  17. 'CGI' => 0,
  18. 'Cwd' => 0,
  19. 'DateTime' => 0, # Tested with 0.53
  20. 'Encode' => 0, # Tested with 2.35
  21. 'Fcntl' => 0,
  22. 'File::Basename' => 0,
  23. 'File::Copy' => 0,
  24. 'File::Find::Rule' => 0,
  25. 'File::Path' => 0,
  26. 'Getopt::Std' => 0,
  27. 'IO::Handle' => 0,
  28. 'IO::Select' => 0,
  29. 'HTML::TreeBuilder::XPath' => 0,
  30. 'POSIX' => 0,
  31. 'Socket' => 0,
  32. 'Template' => 2.0, # Tested with 2.22
  33. 'Text::Format' => 0,
  34. 'URI' => 0, # tested with 1.54
  35. 'XML::LibXSLT' => 0,
  36. 'XML::LibXML' => 0
  37. });
  38. MM->new (\%att) and print "All OK!\n";
  39. # NO WriteMakefile! We do PREREQ checking only