docs-xml: add gpfs:acl option to vfs_gpfs man page
[Samba/gebeck_regimport.git] / docs-xml / scripts / find_missing_manpages.pl
blob0d66280a5a092a2d92fe15822861a3e6a0f3adcc
1 #!/usr/bin/perl
3 my %doc;
5 $invar = 0;
7 $topdir = (shift @ARGV) or $topdir = ".";
9 $progs = "";
11 open(IN, "$topdir/Makefile.in");
12 while(<IN>) {
13 if($invar && /^([ \t]*)(.*?)([\\])$/) {
14 $progs.=" " . $2;
15 if($4) { $invar = 1; } else { $invar = 0; }
16 } elsif(/^([^ ]*)_PROGS([0-9]*) = (.*?)([\\])$/) {
17 $progs.=" " . $3;
18 if($4) { $invar = 1; }
19 } else { $invar = 0; }
22 $progs =~ s/@([^@]+)@//g;
24 foreach(split(/bin\//, $progs)) {
25 next if($_ eq " ");
26 s/ //g;
28 $f = $_;
30 $found = 0;
32 for($i = 0; $i < 9; $i++) {
33 if(-e "manpages-3/$f.$i.xml") { $found = 1; }
36 if(!$found) {
37 print "'$f' does not have a manpage\n";