uss: allow disabling by configure switch
[openafs.git] / doc / man-pages / check-pod
index 418f81d..0b79e38 100755 (executable)
@@ -21,14 +21,14 @@ 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 );
+my @poddirs = qw( pod1 pod3 pod5 pod8 );
 
 my @list;
 for ( @ARGV ? @ARGV : @poddirs ) {
        if ( -f ) {
                push @list, $_
        } elsif ( -d ) {
-               push @list, all_pod_files( $_ )
+               push @list, grep { !m,fragments/, } all_pod_files( $_ )
        }
 }