idl: ntsvcs.idl depends on misc.idl, not winreg.idl
[Samba.git] / docs-xml / scripts / find_missing_manpages.pl
blob612930e42df7abce1c5a835c62d3d8b151cdac21
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/\@EXEEXT\@//g;
27 s/ //g;
29 $f = $_;
31 $found = 0;
33 for($i = 0; $i < 9; $i++) {
34 if(-e "manpages-3/$f.$i.xml") { $found = 1; }
37 if(!$found) {
38 print "'$f' does not have a manpage\n";