This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
perlapi: Slight clarification
[perl5.git]
/
installman
diff --git
a/installman
b/installman
index
201be21
..
60fbce3
100755
(executable)
--- a/
installman
+++ b/
installman
@@
-1,10
+1,13
@@
#!./perl -w
#!./perl -w
+
BEGIN {
@INC = qw(lib);
# This needs to be at BEGIN time, before any use of Config
BEGIN {
@INC = qw(lib);
# This needs to be at BEGIN time, before any use of Config
+ # install_lib itself loads and imports Config into main::
require './install_lib.pl';
}
require './install_lib.pl';
}
+
use strict;
use Getopt::Long;
use strict;
use Getopt::Long;
@@
-80,7
+83,7
@@
while (<$fh>) {
next if /^#/;
chomp;
my ($path, $leaf) = m|^(\S*/(\S+))|;
next if /^#/;
chomp;
my ($path, $leaf) = m|^(\S*/(\S+))|;
- # Have we already installed the manpage for this? (eg perldoc
, a2p
)
+ # Have we already installed the manpage for this? (eg perldoc)
next if $man1{$leaf};
pod2man({$leaf, $path}, $opts{man1dir}, $opts{man1ext});
if ($has_man1dir) {
next if $man1{$leaf};
pod2man({$leaf, $path}, $opts{man1dir}, $opts{man1ext});
if ($has_man1dir) {
@@
-139,7
+142,7
@@
sub pod2man {
unless ($has_pod)
{
unless ($has_pod)
{
-
warn "no documentation in $mod\n" unless $opts{silent
};
+
print "no documentation in $mod\n" if $opts{verbose
};
next;
}
next;
}
@@
-171,9
+174,4
@@
sub pod2man {
$packlist->write() unless $opts{notify};
print " Installation complete\n" if $opts{verbose};
$packlist->write() unless $opts{notify};
print " Installation complete\n" if $opts{verbose};
-# Local variables:
-# cperl-indent-level: 4
-# indent-tabs-mode: nil
-# End:
-#
# ex: set ts=8 sts=4 sw=4 et:
# ex: set ts=8 sts=4 sw=4 et: