| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
Avoid the unnecessary lexicals $xnew and $xold.
Use lexicals for file handles, and check the return of close.
Why import mkpath() from File::Path and then comment its provenance at the
point of use?
Remove an exit(0) which is only 20 lines from the end of the script.
Note why we can't re-use a file handle open on the Pod file we're currently
processing.
|
|
|
|
|
|
|
|
|
|
| |
This makes installman install it correctly. Flagging it as 'toc_omit' means
that everything else ignores it. This eliminates the last remaining use of the
"pod =" feature of utils.lst, permitting related code to be removed from
installperl and installman.
This change has the possibly unfortunate cosmetic side effect of installman
now installing a2p.1 first, before perl.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Since commit a2afbef4476f724a in July 2011 moved perldoc.pod from pod/ to
dist/Pod-Perldoc/lib/ installman will have been warning
"no documentation in pod/perldoc.pod", having already installed the perldoc
man page earlier in the process.
However, the reference in utils.lst has actually been arguably erroneous
since it was added in commit cd0cddc9814dd65e (July 2003) to stop installman
installing an empty perldoc.1 manpage. (Which it had been doing since commit
1a67fee7d910c677 (December 2002), as a side effect of overwriting the
correct file (sourced from pod/perldoc.pod) with an incorrect file (sourced
from scanning utils/perldoc for Pod). The fix "worked" by causing perldoc.1
to be written correctly twice, both times sourced from pod/perldoc.pod :-)
The best fix seems to be to remember the names of the manpages we install
in man1, and automatically skip processing for any utility whose manpage
has already been installed.
|
|
|
|
|
|
|
| |
The unified code to scan lib/ for Pod is now in pods_to_install().
It returns found Pods partitioned into 'MODULE' and 'PRAGMA', as buildtoc
needs this distinction. installman installs Pods in the same order as before,
as 'PRAGMA' sort lexically after 'MODULE'.
|
| |
|
|
|
|
|
|
|
|
| |
The code to recursively scan a directory with File::File::find() is now only
used by one caller of podset(), so move it to the call point, reducing the
amount of conditional code within podset(). The first argument to podset()
is now always a reference to a hash of "work to be done". Add an optional
fourth argument to give the directory name for diagnostics.
|
|
|
|
| |
Now it returns just the pod's name, its filename, and the flags (if any).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Nothing uses the entries in the 'master' array for the for the elements
flagged as 'aux', so don't generate them. Only buildtoc uses the the 'aux'
hash, and only the keys in sorted order, so replace the hash with a sorted
array.
All entries in the 'master' array are now defined, and references to 5
element arrays, so remove code that checks for this. Likewise, as the 'aux'
flag is no longer used, remove code related to it.
When generating the entries for README files in %our_pods in the consistency
checking code in get_pod_metadata, $_->[4] and $_->[1] will always be equal,
as no READMEs are copied from dual life modules. So use $_->[1] instead, as
this permits a future simplification.
|
|
|
|
|
|
|
|
| |
This ensures that perlfaq*, perlglossary, perlxs, perlxstut and perldoc's
man pages are installed in man1, not man3, along with any future dual-life
pods. This is an improvement on commit 0beff067932254cd which only dealt with
perlfaq* and perlglossary, and had the unfortunate side effect of also
causing these 11 files to be installed to bin/
|
|
|
|
|
|
|
|
|
|
|
|
| |
Eliminate the C<use File::Copy> and various $Is_* vars, unneeded since
commit 9e6fc21fcd859351 moved the code that uses them into install_lib.pl
Move the filename-based skip code into the callback for File::Find::find(),
as this saves ever storing them in %$modpods.
Eliminate @to_process, which has been mostly redundant since commit
a274383458745101, and completely redundant since commits 02bc0c09b2a02ba6^
and 02bc0c09b2a02ba6.
Eliminate the batchlimit command line option, which has been redundant since
commit a274383458745101.
|
|
|
|
|
|
| |
Avoid needless splitting and joining of paths when processing the "scripts"
from utils.lst. Remove the unused lexical $where2. Remove an inaccurate
comment about nochdir.
|
|
|
|
|
| |
This doesn't change the order of processing (Pod pathnames all in lib/ sort
in the same order as module names), but will make future refactoring easier.
|
|
|
|
|
|
| |
Like XS::APItest, we don't install the module anyway, so there's no need
to have confusing documentation installed. (See commit ae5391ad3eac0349,
which made the analogous change for XS::APItest*)
|
|
|
|
|
|
|
|
| |
Commit 63fae90782a9851d made installman skip files which contained no Pod.
However, the regex used, /^=(?:head\d+|item|pod)\b/ is overly permissive.
All files with Pod actually match /^=head1\b/. Moreover, a Pod file which
does not start with a =head1 is not going to generate a well formed man
page. Hence restrict the files processed to those which are well formed.
|
| |
|
| |
|
|
|
|
|
| |
XS-APItest-KeywordRPN has turned out to be less useful as an independent
module than expected, and less strictly about RPN than it originally was.
|
|
|
|
|
| |
We don't install the modules anyway, so there's no need to have confusing docs
installed for them.
|
|
|
| |
p4raw-id: //depot/perl@33863
|
|
|
| |
p4raw-id: //depot/perl@33862
|
|
|
|
|
|
|
|
|
|
| |
suspicion that installman is only run on *nix and OS/2, not Win32 or
VMS. Specifically
sub unlink - return scalar(@names) if $Is_VMS # from change 854
sub link - change warn to die # from change 4774
sub samepath - case insensitive name comparison # from change 311
(in the ansiperl branch, merged via the win32 branch)
p4raw-id: //depot/perl@33860
|
|
|
| |
p4raw-id: //depot/perl@32212
|
|
|
|
|
| |
Fix a run-time warning.
p4raw-id: //depot/perl@26657
|
|
|
|
|
| |
file processed. This is now required with podlators-2.0.
p4raw-id: //depot/perl@26656
|
|
|
|
|
|
| |
From: jdhedden@1979.usna.com (via RT) <perlbug-followup@perl.org>
Message-ID: <rt-3.0.9-29937-88315.2.18472609678159@perl.org>
p4raw-id: //depot/perl@22878
|
|
|
|
|
|
|
| |
Message-ID: <20030803173300.GC2076@julia.office.altlinux.ru>
(plus Schwern's and Robert's nits)
p4raw-id: //depot/perl@20466
|
|
|
|
|
| |
(Mark Bixby)
p4raw-id: //depot/perl@20386
|
|
|
|
|
|
| |
optional so that it doesn't complain when passed
an empty value (from Rafael)
p4raw-id: //depot/perl@20308
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Date: Fri, 11 Jul 2003 14:48:41 +0200
Message-ID: <20030711124841.GA18327@immd4.informatik.uni-erlangen.de>
Subject: Re: DESTDIR in perl-5.8.1 package?
From: Michael Schroeder <Michael.Schroeder@informatik.uni-erlangen.de>
Date: Mon, 14 Jul 2003 12:00:25 +0200
Message-ID: <20030714100025.GA26612@immd4.informatik.uni-erlangen.de>
(blindly prepending and s///ing away the $destdir does not work
at least in VMS, but the --destdir should help rpm builders
and the like)
p4raw-id: //depot/perl@20302
|
|
|
| |
p4raw-id: //depot/perl@17408
|
|
|
|
|
| |
Message-ID: <20011128233843.N37621@plum.flirble.org>
p4raw-id: //depot/perl@13351
|
|
|
|
|
| |
Message-ID: <20011126230633.Q37621@plum.flirble.org>
p4raw-id: //depot/perl@13293
|
|
|
|
|
| |
(if no manpages).
p4raw-id: //depot/perl@13262
|
|
|
|
|
| |
Message-ID: <20011124180626.T37621@plum.flirble.org>
p4raw-id: //depot/perl@13241
|
|
|
| |
p4raw-id: //depot/perl@13015
|
|
|
|
|
| |
Message-Id: <20011020014121.I3681@blackrider>
p4raw-id: //depot/perl@12528
|
|
|
|
|
|
|
| |
Message-Id: <200106201211.f5KCBnm24320@egg.karlov.mff.cuni.cz>
Setting umask to something friendlier.
p4raw-id: //depot/perl@10783
|
|
|
| |
p4raw-id: //depot/perl@10151
|
|
|
|
|
| |
Message-ID: <20010516180208.A6458@netthink.co.uk>
p4raw-id: //depot/perl@10135
|
|
|
|
|
| |
Message-ID: <20010516155755.A4728@netthink.co.uk>
p4raw-id: //depot/perl@10129
|
|
|
| |
p4raw-id: //depot/perl@9979
|
|
|
|
|
|
|
|
|
|
|
|
| |
From: Nicholas Clark <nick@talking.bollo.cx>
Date: Sat, 21 Oct 2000 17:24:53 +0100
Message-ID: <20001021172452.A20371@Bagpuss.unfortu.net>
Subject: Re: installman go-faster stripes
From: Russ Allbery <rra@stanford.edu>
Date: 21 Oct 2000 11:04:13 -0700
Message-ID: <ylbswe5aw2.fsf@windlord.stanford.edu>
p4raw-id: //depot/perl@7396
|
|
|
|
|
|
|
| |
Message-Id: <20001004120645.A7356@babyhippo.com>
Retract 7118 and 7135.
p4raw-id: //depot/perl@7140
|
|
|
|
|
| |
Message-Id: <E13gTay-0006od-00@iglou.com>
p4raw-id: //depot/perl@7135
|
|
|
|
|
| |
Message-ID: <20000827143859.E4437@alanya.lupe-christoph.de>
p4raw-id: //depot/perl@6843
|
|
|
|
|
|
| |
Subject: [PATCH] make no-install (was Re: [PATCH] installation not quite silent yet.)
Message-ID: <20000826075735.18912.qmail@foad.org>
p4raw-id: //depot/perl@6839
|
|
|
|
|
| |
Message-ID: <20000826000753.7822.qmail@foad.org>
p4raw-id: //depot/perl@6829
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
of installman.)
Date: Fri, 25 Aug 2000 12:23:16 -0700
Message-ID: <20000825122316.A10250@ilmd.chetlin.org>
Subject: Re: [PATCH @6820] installman under -w and strict (was Re: [PATCH] More silencing of installman.)
From: Daniel Chetlin <daniel@chetlin.com>
Date: Fri, 25 Aug 2000 14:47:19 -0700
Message-ID: <20000825144719.A20587@ilmd.chetlin.org>
p4raw-id: //depot/perl@6824
|
|
|
|
|
|
|
|
|
|
|
| |
Date: Thu, 24 Aug 2000 19:27:03 -0400
Message-ID: <20000824232703.7001.qmail@foad.org>
Subject: Re: [PATCH] More silencing of installman.
From: <abigail@foad.org>
Date: Fri, 25 Aug 2000 03:00:58 -0400
Message-ID: <20000825070058.10697.qmail@foad.org>
p4raw-id: //depot/perl@6813
|