Update makerel to make a release from a git checkout.
Nicholas Clark [Wed, 11 Feb 2009 11:17:38 +0000 (11:17 +0000)]
(Ignore .git directory, .gitignore files, and references to removed perforce
related scripts.)

Porting/makerel

index 390b92b..b197a24 100644 (file)
@@ -43,6 +43,8 @@ print "\nMaking a release for $perl in $relroot/$reldir\n\n";
 
 print "Cross-checking the MANIFEST...\n";
 ($missfile, $missentry) = fullcheck();
+@$missentry
+    = grep {$_ !~ m!^\.git/! and $_ !~ m!(?:/|^)\.gitignore!} @$missentry;
 warn "Can't make a release with MANIFEST files missing.\n" if @$missfile;
 warn "Can't make a release with files not listed in MANIFEST.\n" if @$missentry;
 if ("@$missentry" =~ m/\.orig\b/) {
@@ -95,8 +97,6 @@ my @exe = qw(
     Porting/findrfuncs
     Porting/genlog
     Porting/makerel
-    Porting/p4genpatch
-    Porting/patchls
     Porting/*.pl
     mpeix/nm
     mpeix/relink