In perl.git, the branch smoke-me/Makefile-norecurse has been created
<http://perl5.git.perl.org/perl.git/commitdiff/63c6c7fd05a8e3406dd98c1929cf7673253f5b0d?hp=0000000000000000000000000000000000000000>
at 63c6c7fd05a8e3406dd98c1929cf7673253f5b0d (commit)
- Log -----------------------------------------------------------------
commit 63c6c7fd05a8e3406dd98c1929cf7673253f5b0d
Author: Nicholas Clark <[email protected]>
Date: Wed Apr 25 15:21:54 2012 +0200
Refactor installman's option handling to use Getopt::Long's "multiple
names".
Previously installman specified synonyms for options as distinct
options, and then used explicit code to merge them.
Also add -h and -? as synonyms for --help.
M installman
commit 5e34f6c90a6666312cd82afd1453f55e300360bf
Author: Nicholas Clark <[email protected]>
Date: Wed Apr 25 15:05:44 2012 +0200
Restore installman's -S option to some semblance of silence.
Commit a274383458745101 (in Oct 2001) converted installman to directly using
Pod::Man (instead of shelling out to pod2man), but added a print statement
which unconditionally output each manpage name. This print should be
silenced
if -S (or --silence) is passed.
With this change installman -S generates no output on STDOUT. However, it
still generates about 75 lines of "no documentation in ..." warnings on
STDERR. As these are not fatal, arguably -S should silence these too.
M installman
commit dab0d951902d35d629ab194c3dc2124a91234d9e
Author: Nicholas Clark <[email protected]>
Date: Wed Apr 25 14:38:00 2012 +0200
Convert installperl to use Getopt::Long.
This requires some special handling for the +v option. Fortunately, we can
cheat, because we know that no other non-options are acceptable. This does
change the behaviour slightly from before:
* single letter options now also have long names
* invalid options are now rejected
* command line arguments that are not options are now rejected
However, the behaviour for all valid documented invocations is unchanged.
Also, add a --help option to display the usage message.
M installperl
commit 7e495f9d455ebc3575e72654c5b2a1749cf2f9c8
Author: Nicholas Clark <[email protected]>
Date: Wed Apr 25 16:57:22 2012 +0200
In installperl rename $opt{dostrip} to $opt{strip}.
This will provide a more meaningful long option name once installperl is
converted to Getopt::Long.
M installperl
commit 96956fedf7190b7fb7e5b2aa429ddf13d6414da7
Author: Nicholas Clark <[email protected]>
Date: Wed Apr 25 13:17:41 2012 +0200
In installperl, record the state of options in %opts instead of lexicals.
Replace all lexicals used to track the state of command line options with
entries in the hash %opts. Make an exception for $versiononly, as it is
controlled by 2 different command line options, and accessed in
significantly
more places than the state of any other command line option.
M installperl
commit 5416a47956c9477447c9ac4e24a48c74122178ec
Author: Nicholas Clark <[email protected]>
Date: Wed Apr 25 12:47:53 2012 +0200
In installperl, invert the sense of the variable used for the -o option.
Previously it was $otherperls, and had to have its default of 1 explicitly
set. Change it to $skip_otherperls, and the default default of undef is
perfect.
M installperl
commit 86d906748cbbabb2926d23d532195efd76d408ae
Author: Nicholas Clark <[email protected]>
Date: Wed Apr 25 12:06:26 2012 +0200
Remove dead code from installperl, related to a 5.000->5.001 change.
5.000 installed autosplit files into archlib. 5.001 and later install into
privlib. archlib is earlier in @INC. It wasn't until 5.005 that perl put the
version number into the paths used for privlib and archlib, hence without
special treatment, the files installed by 5.001 would not be found, because
those from 5.000 would be earlier in @INC.
See commit a841533b5cf319b3 (Oct 2009) which removes similar special casing
code dealing with perldiag.pod confusion between 5.003 and 5.004
All this code became redundant when 5.005 added the version number to
library paths. (strictly, commit bfb7748a896459cc in Jul 1998)
M installperl
-----------------------------------------------------------------------
--
Perl5 Master Repository