diff options
Diffstat (limited to 'docs')
-rw-r--r-- | docs/Makefile.in | 10 | ||||
-rw-r--r-- | docs/configure.in | 2 | ||||
-rw-r--r-- | docs/smbdotconf/printing/printcapcachetime.xml | 2 |
3 files changed, 12 insertions, 2 deletions
diff --git a/docs/Makefile.in b/docs/Makefile.in index 6d5568e5b7..d3993e44ae 100644 --- a/docs/Makefile.in +++ b/docs/Makefile.in @@ -14,6 +14,7 @@ # Programs WGET = @WGET@ XSLTPROC = @XSLTPROC@ +XMLLINT = @XMLLINT@ DVIPS = @DVIPS@ PNGTOPNM = @PNGTOPNM@ EPSTOPNM = @EPSTOPNM@ @@ -48,6 +49,7 @@ SMBDOTCONFDOC = $(TOPDIR)/smbdotconf PSDIR = $(OUTPUTDIR) PDFDIR = $(OUTPUTDIR) DVIDIR = $(OUTPUTDIR) +VALIDATEDIR = $(OUTPUTDIR)/validate TXTDIR = $(OUTPUTDIR)/textdocs HTMLDIR=$(OUTPUTDIR)/htmldocs PLUCKERDIR=$(OUTPUTDIR)/plucker @@ -267,6 +269,14 @@ $(MANDIR): $(MANDIR)/%: %.xml $(XSLTPROC) --output $@ xslt/man.xsl $< +$(VALIDATEDIR): + mkdir $@ + +$(VALIDATEDIR)/%.report.html: %.xml + $(XMLLINT) --valid --noout --htmlout $< 2> $@ + +verify: $(VALIDATEDIR) $(VALIDATEDIR)/Samba-HOWTO-Collection.report.html $(VALIDATEDIR)/Samba-Developers-Guide.report.html $(VALIDATEDIR)/Samba-Guide.report.html + # Find undocumented parameters undocumented: $(SMBDOTCONFDOC)/parameters.all.xml diff --git a/docs/configure.in b/docs/configure.in index c47ca5d3ee..2008d92a57 100644 --- a/docs/configure.in +++ b/docs/configure.in @@ -47,6 +47,7 @@ DOCS_TARGET_REQUIRE_PROGRAM(DVIPS, dvips, PS) DOCS_TARGET_REQUIRE_PROGRAM(PLUCKERBUILD, plucker-build, PLUCKER) DOCS_TARGET_REQUIRE_PROGRAM(HTML2TEXT, html2text, TXT) DOCS_TARGET_REQUIRE_PROGRAM(PERL, perl, UNDOCUMENTED) +DOCS_TARGET_REQUIRE_PROGRAM(XMLLINT, xmllint, VERIFY) DOCS_TARGET_REQUIRE_DIR([$SPECIFIED_SOURCEDIR ..], [source/configure.in], SAMBASOURCEDIR, UNDOCUMENTED) AC_MSG_RESULT([]) @@ -60,6 +61,7 @@ DOCS_DEFINE_TARGET(PS, LATEX, [PostScript versions], [ps]) DOCS_DEFINE_TARGET(HTML, ALL, [HTML versions], [html]) DOCS_DEFINE_TARGET(MANPAGES, ALL, [manpages], [manpages]) DOCS_DEFINE_TARGET(PLUCKER, HTML, [plucker versions], [plucker]) +DOCS_DEFINE_TARGET(VERIFY, ALL, [verifying docbook output], [verify]) DOCS_DEFINE_TARGET(UNDOCUMENTED, MANPAGES, [list of undocumented options], [undocumented]) DOCS_DEFINE_TARGET(TXT, HTML, [text versions], [txt]) diff --git a/docs/smbdotconf/printing/printcapcachetime.xml b/docs/smbdotconf/printing/printcapcachetime.xml index 1059d575a2..c81e1ca72c 100644 --- a/docs/smbdotconf/printing/printcapcachetime.xml +++ b/docs/smbdotconf/printing/printcapcachetime.xml @@ -19,5 +19,3 @@ <value type="default">0</value> <value type="example">600</value> </samba:parameter> - -+ |