diff options
Diffstat (limited to 'docs-xml/scripts/find_missing_doc.pl')
-rwxr-xr-x | docs-xml/scripts/find_missing_doc.pl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs-xml/scripts/find_missing_doc.pl b/docs-xml/scripts/find_missing_doc.pl index 2b557b974d..4379d3a476 100755 --- a/docs-xml/scripts/find_missing_doc.pl +++ b/docs-xml/scripts/find_missing_doc.pl @@ -14,8 +14,8 @@ chdir("smbdotconf"); open(IN,"xsltproc --xinclude --param smb.context ALL generate-context.xsl parameters.all.xml|"); while(<IN>) { - if( /<listitem><para><link linkend="([^"]*)"><parameter moreinfo="none">([^<]*)<\/parameter><\/link><\/para><\/listitem>/g ){ - $doc{$2} = $1; + if( /<samba:parameter .*?name="([^"]*?)"/g ){ + $doc{$1} = "NOTFOUND"; } } @@ -37,7 +37,7 @@ while ($ln = <SOURCE>) { last if $ln =~ m/^\s*\}\;\s*$/; #pull in the param names only next if $ln =~ m/.*P_SEPARATOR.*/; - next unless $ln =~ /\s*\{\"(.*)\".*/; + next unless $ln =~ /\s*\.label\s*=\s*\"(.*)\".*/; if($doc{lc($1)}) { $doc{lc($1)} = "FOUND"; |