LOGONLY mark e6897b and 7c8a36 as ALREADY since the latter documents the former
[p5sagit/p5-mst-13.2.git] / Porting / makemeta
index 6d5b0ab..532ee85 100644 (file)
@@ -1,5 +1,8 @@
 #!./perl -w
 # this script must be run by the current perl to get perl's version right
+#
+# Create a META.yml file in the current directory. Must be run from the
+# root directory of a perl source tree.
 
 use strict;
 use warnings;
@@ -13,8 +16,10 @@ die "$0: will not override $file, delete it first.\n" if -e $file;
 use Maintainers qw(%Modules get_module_files get_module_pat);
 
 my @CPAN  = grep { $Modules{$_}{CPAN} } keys %Modules;
-my @files = map { get_module_files($_) } @CPAN;
-my @dirs  = grep { -d $_ } map { get_module_pat($_) } @CPAN;
+my @files = ('lib/unicore/mktables', 'TestInit.pm',
+            'Porting/Maintainers.pm', 'Porting/perldelta_template.pod',
+            map { get_module_files($_) } @CPAN);
+my @dirs  = ('cpan', 'win32', grep { -d $_ && $_  !~ /^cpan/ } map { get_module_pat($_) } @CPAN);
 
 my %dirs;
 @dirs{@dirs} = ();
@@ -47,6 +52,7 @@ resources:
   homepage: http://www.perl.org/
   bugtracker: http://rt.perl.org/perlbug/
   license: http://dev.perl.org/licenses/
+  repository: http://perl5.git.perl.org/
 distribution_type: core
 generated_by: $0
 no_index: