Skip to content

Commit

Permalink
docs: Fix undocumented target to find smb.conf directives in the righ…
Browse files Browse the repository at this point in the history
…t place

The manpages target needs to be reworked to know about waf.

Andrew Bartlett
  • Loading branch information
abartlet committed Sep 3, 2012
1 parent 28499b0 commit f9e8f08
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docs-xml/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ $(PEARSONDIR)/%.report.html: $(PEARSONDIR)/%.xml
# Find undocumented parameters
undocumented: $(SMBDOTCONFDOC)/parameters.all.xml scripts/find_missing_doc.pl scripts/find_missing_manpages.pl
$(PERL) scripts/find_missing_doc.pl $(SRCDIR)
$(PERL) scripts/find_missing_manpages.pl $(SRCDIR)
$(PERL) scripts/find_missing_manpages.pl $(SRCDIR)/source3

samples: $(DOCBOOKDIR)/Samba3-HOWTO.xml xslt/extract-examples.xsl scripts/indent-smb.conf.pl
@mkdir -p examples
Expand Down
2 changes: 1 addition & 1 deletion docs-xml/Makefile.settings.in
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ PERL = @PERL@
OUTPUTDIR = output
ARCHIVEDIR = archive
TEXINFODIR = $(OUTPUTDIR)/texi
SRCDIR = ../source3
SRCDIR = ../
MANPAGEDIR = manpages
SMBDOTCONFDOC = smbdotconf
DOCBOOKDIR = tmp
Expand Down
2 changes: 1 addition & 1 deletion docs-xml/scripts/find_missing_doc.pl
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
# Reading entries from source code


open(SOURCE,"$topdir/param/loadparm.c") or die("Can't open $topdir/param/loadparm.c: $!");
open(SOURCE,"$topdir/lib/param/param_table.c") or die("Can't open $topdir/lib/param/param_table.c: $!");

while ($ln = <SOURCE>) {
last if $ln =~ m/^static\ struct\ parm_struct\ parm_table.*/;
Expand Down

0 comments on commit f9e8f08

Please sign in to comment.