summaryrefslogtreecommitdiff
path: root/cpan/podlators
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-10-05 19:30:59 +0100
committerNicholas Clark <nick@ccl4.org>2010-10-05 19:30:59 +0100
commitd3bc6aa63a6a5b0edf9948f07d2571be8049339c (patch)
tree1a028fd11998eb2951c0a580e0168328ce3146b5 /cpan/podlators
parentce41b7f24c1dd8024fc3b77f9c85f8b0d85908ef (diff)
downloadperl-d3bc6aa63a6a5b0edf9948f07d2571be8049339c.tar.gz
Generate the core-only Makefile.PL for podlators using make_ext.
Using make_ext to generate it uses less code than committing a special core-only Makefile.PL to the repository, and is no more complex.
Diffstat (limited to 'cpan/podlators')
-rw-r--r--cpan/podlators/Makefile.PL27
1 files changed, 0 insertions, 27 deletions
diff --git a/cpan/podlators/Makefile.PL b/cpan/podlators/Makefile.PL
deleted file mode 100644
index de3288d2fe..0000000000
--- a/cpan/podlators/Makefile.PL
+++ /dev/null
@@ -1,27 +0,0 @@
-# core-only Makefile.PL
-use strict;
-use ExtUtils::MakeMaker;
-require File::Copy;
-
-my @scripts = qw(pod2man.PL pod2text.PL);
-my $script_ext = $^O eq 'VMS' ? '.com' : '';
-my %pod_scripts;
-
-foreach (@scripts) {
- File::Copy::copy("scripts/$_", $_)
- or die "Can't copy scripts/$_ to $_: $!";
- my $output = s/.PL$/$script_ext/r;
- $pod_scripts{$_} = $output;
-}
-
-my @exe_files = values %pod_scripts;
-
-WriteMakefile (
- NAME => 'Pod',
- DISTNAME => 'podlators',
- VERSION_FROM => 'VERSION',
- realclean => { FILES => "@scripts" },
- PL_FILES => \%pod_scripts,
- EXE_FILES => \@exe_files,
- clean => { FILES => "@exe_files" },
-);