mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 23:10:58 +00:00
man-page-check-pod-20070817
Add check-pod script to test for POD syntax errors.
This commit is contained in:
parent
25ace7c2c7
commit
a8172fca24
@ -185,6 +185,10 @@ How You Can Help
|
||||
the bug number so that I'm aware of it, as I don't always notice new
|
||||
bugs.
|
||||
|
||||
You can test your new POD documentation by running the check-pod script
|
||||
in this directory. (And check other people's documentation and find any
|
||||
problems that have crept in.)
|
||||
|
||||
Known Problems
|
||||
|
||||
The current man pages have the following known deficiencies. Please
|
||||
|
12
doc/man-pages/check-pod
Executable file
12
doc/man-pages/check-pod
Executable file
@ -0,0 +1,12 @@
|
||||
#!/usr/bin/perl
|
||||
#
|
||||
# Written by Jason Edgecombe based on the Test::Pod documentation. Run
|
||||
# it to syntax-check all of the POD files.
|
||||
|
||||
use strict;
|
||||
use Test::More;
|
||||
eval "use Test::Pod 1.00";
|
||||
|
||||
plan skip_all => "Test::Pod 1.00 required for testing POD" if $@;
|
||||
my @poddirs = qw( pod1 pod5 pod8 );
|
||||
all_pod_files_ok( all_pod_files( @poddirs ) );
|
Loading…
Reference in New Issue
Block a user