summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-11-08 15:11:46 +0100
committerNicholas Clark <nick@ccl4.org>2011-11-18 11:08:57 +0100
commitb78c1104391671326f93910e06b272bd004e5c31 (patch)
tree8ca2c2fd609878eb5f4680c0123d2ec5185ed9dc /t
parent6fdb59a5b63742625d027fa1c78f62ce9c9a681e (diff)
downloadperl-b78c1104391671326f93910e06b272bd004e5c31.tar.gz
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.
Diffstat (limited to 't')
-rw-r--r--t/porting/buildtoc.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/porting/buildtoc.t b/t/porting/buildtoc.t
index 4fbcac92cb..ee53667b3e 100644
--- a/t/porting/buildtoc.t
+++ b/t/porting/buildtoc.t
@@ -9,7 +9,7 @@ use strict;
require 't/test.pl';
my $result = runperl(switches => ['-f', '-Ilib'],
- progfile => 'pod/buildtoc',
- args => ['--build-toc', '-q', '--test', '--build-all']);
+ progfile => 'Porting/pod_rules.pl',
+ args => ['--tap']);
print $result;