This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Create Porting/pod_rules.pl, with all non perltoc.pod code from buildtoc.
authorNicholas Clark <nick@ccl4.org>
Tue, 8 Nov 2011 14:11:46 +0000 (15:11 +0100)
committerNicholas Clark <nick@ccl4.org>
Fri, 18 Nov 2011 10:08:57 +0000 (11:08 +0100)
commitb78c1104391671326f93910e06b272bd004e5c31
tree8ca2c2fd609878eb5f4680c0123d2ec5185ed9dc
parent6fdb59a5b63742625d027fa1c78f62ce9c9a681e
Create Porting/pod_rules.pl, with all non perltoc.pod code from buildtoc.

pod/buildtoc now only generates pod/perltoc.pod, and only takes a --quiet
option. All the other file (re)generation code is now in Porting/pod_rules.pl.

This splits functionality which generates a new file at build time from
functionality for maintainers, which edits files in place. This permits the
unwinding of some of commit 02cc404a20a8a345, which achieved net
simplification in pod/buildtoc by merging code paths dealing with new files
(only pod/perltoc.pod) and existing files being edited.

pod_rules.pl has a --tap option, instead of buildtoc's non-standard --test
option, and defaults to --build-all if no arguments are passed. As buildtoc
now does one job, it no longer takes a --build-toc option, hence all the
Makefiles which call it need updating.
MANIFEST
Makefile.SH
Porting/pod_rules.pl [new file with mode: 0644]
pod/Makefile.SH
pod/buildtoc
t/porting/buildtoc.t
vms/descrip_mms.template
win32/Makefile
win32/makefile.mk