From 2a26734ce26ae68f89c814e0b4219964443679ba Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 13 Mar 2005 01:38:40 +0000 Subject: [PATCH] Fix validation for the developers guide. --- docs/Makefile | 7 +++---- docs/Makefile.settings.in | 1 - docs/Samba-Developers-Guide/CodingSuggestions.xml | 2 +- docs/Samba-Developers-Guide/NetBIOS.xml | 2 +- docs/Samba-Developers-Guide/Tracing.xml | 2 +- docs/Samba-Developers-Guide/architecture.xml | 2 +- docs/Samba-Developers-Guide/cifsntdomain.xml | 2 +- docs/Samba-Developers-Guide/contributing.xml | 3 ++- docs/Samba-Developers-Guide/debug.xml | 2 +- docs/Samba-Developers-Guide/encryption.xml | 2 +- docs/Samba-Developers-Guide/gencache.xml | 2 +- docs/Samba-Developers-Guide/index.xml | 5 ++++- docs/Samba-Developers-Guide/internals.xml | 2 +- docs/Samba-Developers-Guide/modules.xml | 2 +- docs/Samba-Developers-Guide/packagers.xml | 2 +- docs/Samba-Developers-Guide/parsing.xml | 2 +- docs/Samba-Developers-Guide/printing.xml | 2 +- docs/Samba-Developers-Guide/registry.xml | 2 +- docs/Samba-Developers-Guide/rpc_plugin.xml | 2 +- docs/Samba-Developers-Guide/unix-smb.xml | 2 +- docs/Samba-Developers-Guide/vfs.xml | 2 +- docs/Samba-Developers-Guide/windows-debug.xml | 2 +- docs/Samba-Developers-Guide/wins.xml | 2 +- docs/Samba-HOWTO-Collection/Group-Mapping.xml | 10 ++++++---- docs/Samba-HOWTO-Collection/PDC.xml | 5 +++-- docs/smbdotconf/base/interfaces.xml | 2 +- docs/xslt/generate-attributions.xsl | 2 +- 27 files changed, 39 insertions(+), 34 deletions(-) diff --git a/docs/Makefile b/docs/Makefile index 39ca5f38a6e..8be60d90e5b 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -65,7 +65,7 @@ htmlman: $(patsubst $(MANPAGEDIR)/%.xml,$(HTMLDIR)/%.html,$(MANPAGES)) $(HTMLDIR html-single: $(patsubst $(DOCBOOKDIR)/%.xml,$(HTMLDIR)/%.html,$(MAIN_DOCS)) html: $(patsubst $(DOCBOOKDIR)/%.xml,$(HTMLDIR)/%/index.html,$(MAIN_DOCS)) $(HTMLDIR)/index.html htmlhelp: $(patsubst $(DOCBOOKDIR)/%.xml,$(HTMLHELPDIR)/%,$(MAIN_DOCS)) -validate: $(patsubst $(DOCBOOKDIR)/%.xml,$(VALIDATEDIR)/%.report,$(MAIN_DOCS)) +validate: $(patsubst $(DOCBOOKDIR)/%.xml,%-validate,$(MAIN_DOCS)) # Intermediate docbook docs @@ -225,9 +225,8 @@ $(PEARSONDIR)/%.report.html: $(PEARSONDIR)/%.xml -$(XMLLINT) --valid --noout $< 2> $@ # Validation verification -$(VALIDATEDIR)/%.report: %/index.xml - mkdir -p $(@D) - -$(XMLLINT) --xinclude --postvalid --noout $< 2> $@ +%-validate: %/index.xml + -$(XMLLINT) --xinclude --noent --postvalid --noout $< # Find undocumented parameters undocumented: $(SMBDOTCONFDOC)/parameters.all.xml scripts/find_missing_doc.pl scripts/find_missing_manpages.pl diff --git a/docs/Makefile.settings.in b/docs/Makefile.settings.in index f4a3dca2b4d..8d210e71216 100644 --- a/docs/Makefile.settings.in +++ b/docs/Makefile.settings.in @@ -41,7 +41,6 @@ PDFDIR = $(OUTPUTDIR) DVIDIR = $(OUTPUTDIR) FODIR = $(OUTPUTDIR) HTMLHELPDIR = $(OUTPUTDIR)/htmlhelp -VALIDATEDIR = $(OUTPUTDIR)/validate PEARSONDIR = $(OUTPUTDIR)/pearson TXTDIR = $(OUTPUTDIR)/textdocs HTMLDIR=$(OUTPUTDIR)/htmldocs diff --git a/docs/Samba-Developers-Guide/CodingSuggestions.xml b/docs/Samba-Developers-Guide/CodingSuggestions.xml index 09d842639eb..caf93d84ad0 100644 --- a/docs/Samba-Developers-Guide/CodingSuggestions.xml +++ b/docs/Samba-Developers-Guide/CodingSuggestions.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/NetBIOS.xml b/docs/Samba-Developers-Guide/NetBIOS.xml index d1fdd217371..04eaecd4ab2 100644 --- a/docs/Samba-Developers-Guide/NetBIOS.xml +++ b/docs/Samba-Developers-Guide/NetBIOS.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/Tracing.xml b/docs/Samba-Developers-Guide/Tracing.xml index 7586f3c4c53..3eaab6373ec 100644 --- a/docs/Samba-Developers-Guide/Tracing.xml +++ b/docs/Samba-Developers-Guide/Tracing.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/architecture.xml b/docs/Samba-Developers-Guide/architecture.xml index da276ca91e5..bb0f29981b4 100644 --- a/docs/Samba-Developers-Guide/architecture.xml +++ b/docs/Samba-Developers-Guide/architecture.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/cifsntdomain.xml b/docs/Samba-Developers-Guide/cifsntdomain.xml index fd19205adae..2626c8fc13c 100644 --- a/docs/Samba-Developers-Guide/cifsntdomain.xml +++ b/docs/Samba-Developers-Guide/cifsntdomain.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/contributing.xml b/docs/Samba-Developers-Guide/contributing.xml index acb8085cbe8..01e6fb28630 100644 --- a/docs/Samba-Developers-Guide/contributing.xml +++ b/docs/Samba-Developers-Guide/contributing.xml @@ -1,5 +1,6 @@ - + + &author.jelmer; diff --git a/docs/Samba-Developers-Guide/debug.xml b/docs/Samba-Developers-Guide/debug.xml index 5ffc0cbc746..a55facedff4 100644 --- a/docs/Samba-Developers-Guide/debug.xml +++ b/docs/Samba-Developers-Guide/debug.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/encryption.xml b/docs/Samba-Developers-Guide/encryption.xml index 5ab711014b2..be00beba5d7 100644 --- a/docs/Samba-Developers-Guide/encryption.xml +++ b/docs/Samba-Developers-Guide/encryption.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/gencache.xml b/docs/Samba-Developers-Guide/gencache.xml index 7def6f21d25..7e8475c192b 100644 --- a/docs/Samba-Developers-Guide/gencache.xml +++ b/docs/Samba-Developers-Guide/gencache.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/index.xml b/docs/Samba-Developers-Guide/index.xml index 9d3cc9aea79..c02e30fdce6 100644 --- a/docs/Samba-Developers-Guide/index.xml +++ b/docs/Samba-Developers-Guide/index.xml @@ -1,5 +1,8 @@ - + +]> diff --git a/docs/Samba-Developers-Guide/internals.xml b/docs/Samba-Developers-Guide/internals.xml index a6d6435ac7a..61780286009 100644 --- a/docs/Samba-Developers-Guide/internals.xml +++ b/docs/Samba-Developers-Guide/internals.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/modules.xml b/docs/Samba-Developers-Guide/modules.xml index 30768e47ed4..a74c1768443 100644 --- a/docs/Samba-Developers-Guide/modules.xml +++ b/docs/Samba-Developers-Guide/modules.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/packagers.xml b/docs/Samba-Developers-Guide/packagers.xml index 470e1e82887..5c834b09fe7 100644 --- a/docs/Samba-Developers-Guide/packagers.xml +++ b/docs/Samba-Developers-Guide/packagers.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/parsing.xml b/docs/Samba-Developers-Guide/parsing.xml index 1b3df637cd4..d695f9313cf 100644 --- a/docs/Samba-Developers-Guide/parsing.xml +++ b/docs/Samba-Developers-Guide/parsing.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/printing.xml b/docs/Samba-Developers-Guide/printing.xml index d41bc22ddfd..fc0a1ee4b79 100644 --- a/docs/Samba-Developers-Guide/printing.xml +++ b/docs/Samba-Developers-Guide/printing.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/registry.xml b/docs/Samba-Developers-Guide/registry.xml index 62925c62f4d..bc394d71b7f 100644 --- a/docs/Samba-Developers-Guide/registry.xml +++ b/docs/Samba-Developers-Guide/registry.xml @@ -1,5 +1,5 @@ - + &author.jelmer; diff --git a/docs/Samba-Developers-Guide/rpc_plugin.xml b/docs/Samba-Developers-Guide/rpc_plugin.xml index dc91129f381..cc263ffc3e6 100644 --- a/docs/Samba-Developers-Guide/rpc_plugin.xml +++ b/docs/Samba-Developers-Guide/rpc_plugin.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/unix-smb.xml b/docs/Samba-Developers-Guide/unix-smb.xml index 3c63c74dfdd..b700dfc9dc4 100644 --- a/docs/Samba-Developers-Guide/unix-smb.xml +++ b/docs/Samba-Developers-Guide/unix-smb.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/vfs.xml b/docs/Samba-Developers-Guide/vfs.xml index 652bc61eb91..25a45b68753 100644 --- a/docs/Samba-Developers-Guide/vfs.xml +++ b/docs/Samba-Developers-Guide/vfs.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-Developers-Guide/windows-debug.xml b/docs/Samba-Developers-Guide/windows-debug.xml index e04ccd3797e..db0560c6e12 100644 --- a/docs/Samba-Developers-Guide/windows-debug.xml +++ b/docs/Samba-Developers-Guide/windows-debug.xml @@ -1,5 +1,5 @@ - + &author.jelmer; diff --git a/docs/Samba-Developers-Guide/wins.xml b/docs/Samba-Developers-Guide/wins.xml index 7793160b032..df29627bfdf 100644 --- a/docs/Samba-Developers-Guide/wins.xml +++ b/docs/Samba-Developers-Guide/wins.xml @@ -1,5 +1,5 @@ - + diff --git a/docs/Samba-HOWTO-Collection/Group-Mapping.xml b/docs/Samba-HOWTO-Collection/Group-Mapping.xml index c09d9e860b2..7f4495cd5aa 100644 --- a/docs/Samba-HOWTO-Collection/Group-Mapping.xml +++ b/docs/Samba-HOWTO-Collection/Group-Mapping.xml @@ -57,11 +57,12 @@ - IDMAP: group SID to GID resolution. + IDMAP: group SID to GID resolution. idmap-sid2gid - IDMAP: GID resolution to matching SID. + + IDMAP: GID resolution to matching SID. idmap-gid2sid @@ -73,8 +74,9 @@ used to establish UNIX group to NT SID mappings as shown in IDMAP: storing group mappings. - IDMAP storing group mappings. - idmap-store-gid2sid + + IDMAP storing group mappings. + idmap-store-gid2sid diff --git a/docs/Samba-HOWTO-Collection/PDC.xml b/docs/Samba-HOWTO-Collection/PDC.xml index 2e25646822c..e512270460f 100644 --- a/docs/Samba-HOWTO-Collection/PDC.xml +++ b/docs/Samba-HOWTO-Collection/PDC.xml @@ -33,8 +33,9 @@ network environment. Workstations A, B and C are representative of many physical network clients. -An Example Domain. -domain + + An Example Domain. + domain diff --git a/docs/smbdotconf/base/interfaces.xml b/docs/smbdotconf/base/interfaces.xml index f2ccfe36ad9..1a3af3bb234 100644 --- a/docs/smbdotconf/base/interfaces.xml +++ b/docs/smbdotconf/base/interfaces.xml @@ -36,6 +36,7 @@ the OS's normal hostname resolution mechanisms. +bind interfaces only This would configure three network interfaces corresponding @@ -44,6 +45,5 @@ eth0 192.168.2.10/24 192.168.3.10/255.255.255.0 -bind interfaces only all active interfaces except 127.0.0.1 that are broadcast capable diff --git a/docs/xslt/generate-attributions.xsl b/docs/xslt/generate-attributions.xsl index a6e7f98e16f..fed7325c9b6 100644 --- a/docs/xslt/generate-attributions.xsl +++ b/docs/xslt/generate-attributions.xsl @@ -6,7 +6,7 @@ - + -- 2.11.4.GIT