This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Teach bump-perl-version about additional perl511 references in makedef.pl.
authorJan Dubois <jand@activestate.com>
Tue, 23 Feb 2010 20:48:58 +0000 (12:48 -0800)
committerJan Dubois <jand@activestate.com>
Tue, 23 Feb 2010 20:48:58 +0000 (12:48 -0800)
The previous version also missed 2 instances in win32/makefile.mk because
they were written as "perl511$(a)" instead of "perl511.o".

Porting/bump-perl-version

index a353ce9..7951846 100755 (executable)
@@ -174,12 +174,12 @@ my @maps =  (
        undef,
     ],
 
-    # perl511.dll, perl511.lib, perl511s.lib
+    # perl511, perl511.dll, perl511.lib, perl511s.lib
     [
-       qr{\b perl (\d\d\d) (s?) \. }x,
-       sub {$1, "perl$newx$newy$2." },
+       qr{\b perl (\d\d\d) (s?) \b }x,
+       sub {$1, "perl$newx$newy$2" },
        "$oldx$oldy",
-       qr/win32/,      # README.win32, win32/*
+       qr/makedef|win32/,      # makedef.pl, README.win32, win32/*
     ],
 
 );