summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2019-05-27 12:04:58 -0600
committerKarl Williamson <khw@cpan.org>2019-05-27 12:12:24 -0600
commitb83fde9727ea95eba21d0aae5013700aef5909e6 (patch)
treee250c59661d8a276072577b55d14630762876114 /make_ext.pl
parent2fecb8b26fdcfb76a86d6db016179c94c1006a0e (diff)
downloadperl-b83fde9727ea95eba21d0aae5013700aef5909e6.tar.gz
make_ext.pl: Add some general comments
I found myself recently not knowing how to deal with the build system. Having these would have helped.
Diffstat (limited to 'make_ext.pl')
-rw-r--r--make_ext.pl8
1 files changed, 8 insertions, 0 deletions
diff --git a/make_ext.pl b/make_ext.pl
index 317534027e..b9630633cb 100644
--- a/make_ext.pl
+++ b/make_ext.pl
@@ -54,6 +54,14 @@ my $ext_dirs_re = '(?:' . join('|', @ext_dirs) . ')';
# '# XXX hack for dependency # ordering'
# below.
#
+# The basic logic is:
+# 1) if there's a Makefile.PL in git for the module, use it. and call make
+# 2) If not, auto-generate one (normally)
+# 3) unless the auto-generation code figures out that the extension is
+# *really* simple, in which case don't. This will be for pure perl
+# modules, and all that is needed to be done is to copy from the source
+# to the dest directories.
+#
# It may be deleted in a later release of perl so try to
# avoid using it for other purposes.