summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-09-04 09:09:38 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-09-04 09:31:49 +1000
commitf9e8f08197651f053bf6a23584bf04814440fec0 (patch)
treede937734502d162b5af8ebf21ba53b685746cda2
parent28499b04769ee0d310e48576b868e11c0d2b1422 (diff)
downloadsamba-f9e8f08197651f053bf6a23584bf04814440fec0.tar.gz
samba-f9e8f08197651f053bf6a23584bf04814440fec0.tar.bz2
samba-f9e8f08197651f053bf6a23584bf04814440fec0.zip
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
-rw-r--r--docs-xml/Makefile2
-rw-r--r--docs-xml/Makefile.settings.in2
-rwxr-xr-xdocs-xml/scripts/find_missing_doc.pl2
3 files changed, 3 insertions, 3 deletions
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 = <SOURCE>) {
last if $ln =~ m/^static\ struct\ parm_struct\ parm_table.*/;