This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Invert the build logic for miniperlmain.c and ExtUtils::Miniperl
authorNicholas Clark <nick@ccl4.org>
Fri, 5 Jul 2013 21:16:12 +0000 (23:16 +0200)
committerNicholas Clark <nick@ccl4.org>
Sun, 7 Jul 2013 10:52:36 +0000 (12:52 +0200)
commitc8935f6cd34349a50bf080be1bb4c46f2a00adfb
treef54aad414b4e90bd757d1c9fc1a107d761f4cf85
parent7b4d95f74b61267ca3d460b061b824f1374b2672
Invert the build logic for miniperlmain.c and ExtUtils::Miniperl

Now ExtUtils::Miniperl has the master version of {mini,}perlmain.c and is
checked into the repository. miniperlmain.c is now generated by a script
in regen/ which uses ExtUtils::Miniperl.

Tweak ExtUtils::Miniperl::writemain() to take an optional first argument,
a reference to a file handle. This permits the regen script to use the
regen_lib.pl functions for file opening/closing/renaming and TAP generation.

For now check in ExtUtils::Miniperl minimally modified from the version
generated by the former minimod.pl. The next commit will tidy it up.
MANIFEST
ext/ExtUtils-Miniperl/Makefile.PL [deleted file]
ext/ExtUtils-Miniperl/Miniperl_pm.PL [deleted file]
ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm [new file with mode: 0644]
miniperlmain.c
regen/miniperlmain.pl [new file with mode: 0644]
t/porting/regen.t