This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Restore Win32 build by creating git_version.h.
authorSteve Hay <SteveHay@planit.com>
Tue, 13 Jan 2009 14:57:07 +0000 (14:57 +0000)
committerSteve Hay <SteveHay@planit.com>
Tue, 13 Jan 2009 14:58:14 +0000 (14:58 +0000)
commita148edb68fd0a08baf89e19b1468a7c646de7c2f
tree0f79ce30bc08106d6d60c71ec6f74dfbd5b9f012
parent0e5ce2c7623110cdddeeab5e7dbd5c0672a4a98e
Restore Win32 build by creating git_version.h.

This solution is based on what is done for config.h (which isn't perfect because it leaves miniperl.exe out-of-sync with the final perl.exe build, but that doesn't really matter).

Also has a problem in that miniperl.exe is used in a couple of places before make_patchnum.pl has been run (to recreate git_version.h and create lib/Config_git.pl), causing the warning:
Warning: failed to load Config_git.pl, something strange about this perl...

The running of make_patchnum.pl also causes some warnings of its own if a ".git" directory is found but "git" isn't on the PATH:
'git' is not recognized as an internal or external command,
operable program or batch file.

These things will be hopefully ironed out later.
win32/Makefile
win32/makefile.mk