From: Nicholas Clark Date: Wed, 11 Feb 2009 11:17:38 +0000 (+0000) Subject: Update makerel to make a release from a git checkout. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=37d29c6f3453c0f472e0e800ed4a425e9d8eae97;p=p5sagit%2Fp5-mst-13.2.git Update makerel to make a release from a git checkout. (Ignore .git directory, .gitignore files, and references to removed perforce related scripts.) --- diff --git a/Porting/makerel b/Porting/makerel index 390b92b..b197a24 100644 --- a/Porting/makerel +++ b/Porting/makerel @@ -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