man pages: Add documentation for new parameter 'ldap connection timeout'.
[Samba.git] / docs-xml / scripts / find_missing_manpages.pl
blobc468d7d1ee149875f95b22e36d2c0aa5639a9a8a
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 foreach(split(/bin\//, $progs)) {
23 next if($_ eq " ");
24 s/\@EXEEXT\@//g;
25 s/ //g;
28 $f = $_;
30 $found = 0;
32 for($i = 0; $i < 9; $i++) {
33 if(-e "manpages/$f.$i.xml") { $found = 1; }
36 if(!$found) {
37 print "'$f' does not have a manpage\n";