| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
| |
Configure … -Dman1dir=none -Dman3dir=none …
→
installman1dir=''
installman3dir=''
|
|
|
|
|
| |
Using vars pragma is discouraged and has been superseded by 'our' declarations
available in Perl v5.6.0 or later.
|
|
|
|
|
|
|
| |
Previously, two progress messages were emitted for each manpage: one by
installman itself, and one by the function in install_lib.pl that it calls
to actually install the file. Disabling the second of those in each case
saves over 750 lines of unhelpful output.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Currently it spits out about 80 lines like the following to stderr:
no documentation in lib/Archive/Tar/Constant.pm
no documentation in lib/CPAN/Author.pm
no documentation in lib/CPAN/Bundle.pm
Since this is not actually an error condition, spit to stdout instead,
and only under --verbose.
See http://nntp.perl.org/group/perl.perl5.porters/234436.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
An empty cpan/.dir-locals.el stops Emacs using the core defaults for
code imported from CPAN.
Committer's work:
To keep t/porting/cmp_version.t and t/porting/utils.t happy, $VERSION needed
to be incremented in many files, including throughout dist/PathTools.
perldelta entry for module updates.
Add two Emacs control files to MANIFEST; re-sort MANIFEST.
For: RT #124119.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
References to PERL_FOR_X2P probably have to stay in case any third-party
code is #defining it. Likewise, NO_PERL_TYPEDEFS in vms/vmsish.h has to
stay because it actually is used by App::a2p.
Cross/Makefile.SH.patch still needs regenerating since it contains
references to x2p in the top-level Makefile.SH which were removed by
e5a8a0fbd7.
A few other references to x2p/a2p/find2p/s2p still remain, which I am less
sure about removing, plus some others in documentation which should stay
anyway.
|
|
|
|
|
|
|
|
|
|
| |
require Config; within the BEGIN block instead of using it outside it to
save creating one implicit BEGIN block, and running its import twice.
Remove the require 5.004; as the require of Config will fail if running
with anything other than the version about to be installed.
Note in installperl and installman that install_lib.pl imports Config.
|
|
|
|
|
| |
installperl and installman call File::Path::mkpath with identical arguments
and options, so move the repeated code into a single place.
|
|
|
|
|
|
| |
installman's rename() was identical to installperl's safe_rename() in all
but name (and whitespace), so de-duplicate by moving the code to
install_lib.pl
|
|
|
|
|
|
|
|
| |
This intentionally does nothing.
--strip for installperl instructs it to strip the installed binaries. Hence
by permitting installman to accept --strip without error Makefile.SH can be
simplified, as it's possible to pass identical flags to both install scripts.
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
|