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-Tag: samba-4.0.0rc1~270 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f9e8f08197651f053bf6a23584bf04814440fec0;p=thirdparty%2Fsamba.git 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 25725ef863a..180b2e3baa1 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 e5d58a4279d..2bf96d746bc 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 3d0c345a5d6..6ce547be3ed 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.*/;