summaryrefslogtreecommitdiff
path: root/Porting/pod_lib.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2011-12-23 17:15:59 +0100
committerNicholas Clark <nick@ccl4.org>2011-12-24 10:29:13 +0100
commite1aae8e422ead7f20e21203fb7fb1e8ad7387c2b (patch)
tree490b502b46c5dc12d85a13f74ea4637995b6973c /Porting/pod_lib.pl
parent1cb2462dfbfd850261a04986dde33d544c98a935 (diff)
downloadperl-e1aae8e422ead7f20e21203fb7fb1e8ad7387c2b.tar.gz
Add x2p/a2p.pod to the 'master' array returned by get_pod_metadata().
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
Diffstat (limited to 'Porting/pod_lib.pl')
-rw-r--r--Porting/pod_lib.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Porting/pod_lib.pl b/Porting/pod_lib.pl
index 94cf0265fb..c86993d133 100644
--- a/Porting/pod_lib.pl
+++ b/Porting/pod_lib.pl
@@ -216,6 +216,8 @@ sub __prime_state {
}
}
close $master or my_die("close pod/perl.pod: $!");
+ # This has to be special-cased somewhere. Turns out this is cleanest:
+ push @{$state{master}}, ['a2p', 'x2p/a2p.pod', {toc_omit => 1}];
my_die("perl.pod sets flags for unknown pods: "
. join ' ', sort keys %flag_set)