From: Andrew Bartlett Date: Mon, 3 Sep 2012 23:09:38 +0000 (+1000) Subject: docs: Fix undocumented target to find smb.conf directives in the right place X-Git-Url: http://git.samba.org/?p=mdw%2Fsamba.git;a=commitdiff_plain;h=f9e8f08197651f053bf6a23584bf04814440fec0 docs: Fix undocumented target to find smb.conf directives in the right place The manpages target needs to be reworked to know about waf. Andrew Bartlett --- diff --git a/docs-xml/Makefile b/docs-xml/Makefile index 25725ef863..180b2e3baa 100644 --- a/docs-xml/Makefile +++ b/docs-xml/Makefile @@ -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 diff --git a/docs-xml/Makefile.settings.in b/docs-xml/Makefile.settings.in index e5d58a4279..2bf96d746b 100644 --- a/docs-xml/Makefile.settings.in +++ b/docs-xml/Makefile.settings.in @@ -16,7 +16,7 @@ PERL = @PERL@ OUTPUTDIR = output ARCHIVEDIR = archive TEXINFODIR = $(OUTPUTDIR)/texi -SRCDIR = ../source3 +SRCDIR = ../ MANPAGEDIR = manpages SMBDOTCONFDOC = smbdotconf DOCBOOKDIR = tmp diff --git a/docs-xml/scripts/find_missing_doc.pl b/docs-xml/scripts/find_missing_doc.pl index 3d0c345a5d..6ce547be3e 100755 --- a/docs-xml/scripts/find_missing_doc.pl +++ b/docs-xml/scripts/find_missing_doc.pl @@ -29,7 +29,7 @@ chdir($curdir); # 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 = ) { last if $ln =~ m/^static\ struct\ parm_struct\ parm_table.*/;