docs: Fix undocumented target to find smb.conf directives in the right place
authorAndrew Bartlett <abartlet@samba.org>
Mon, 3 Sep 2012 23:09:38 +0000 (09:09 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 3 Sep 2012 23:31:49 +0000 (09:31 +1000)
The manpages target needs to be reworked to know about waf.

Andrew Bartlett

docs-xml/Makefile
docs-xml/Makefile.settings.in
docs-xml/scripts/find_missing_doc.pl

index 25725ef863ad46a7cede073ed3540c7a5a2e2fd5..180b2e3baa102990ed0064c450ddec91bbcd89c7 100644 (file)
@@ -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
index e5d58a4279de8621260371e0f5d82f9d8bbeedcd..2bf96d746bc587cac959c5c542629da24b1b4f47 100644 (file)
@@ -16,7 +16,7 @@ PERL = @PERL@
 OUTPUTDIR = output
 ARCHIVEDIR = archive
 TEXINFODIR = $(OUTPUTDIR)/texi
-SRCDIR = ../source3
+SRCDIR = ../
 MANPAGEDIR = manpages
 SMBDOTCONFDOC = smbdotconf
 DOCBOOKDIR = tmp
index 3d0c345a5d67a45bff6034d72d281d6c1f393dfb..6ce547be3edea0bfd5498de60daba58de2e47e97 100755 (executable)
@@ -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.*/;