about summary refs log tree commit homepage
diff options
context:
space:
mode:
-rw-r--r--Makefile.PL10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile.PL b/Makefile.PL
index 348a343d..b3ac59be 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -190,6 +190,16 @@ WriteMakefile(
                 FILES => 't/home*/setup* t/home*/t* t/home*/.public-inbox '.
                         't/data-gen/*'
         },
+        PM => {
+                map {
+                        s[^lib/][]s;
+                        +('lib/' . $_ => '$(INST_LIB)/' . $_);
+                } grep {
+                        # Will include *.pod and an *.h file, but so
+                        # would ExtUtils::MakeMaker.
+                        m[^lib/];
+                } @manifest
+        },
 );
 
 sub MY::postamble {