diff options
Diffstat (limited to 'libstdc++-v3/doc/Makefile.am')
-rw-r--r-- | libstdc++-v3/doc/Makefile.am | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/libstdc++-v3/doc/Makefile.am b/libstdc++-v3/doc/Makefile.am index 3cdb1fd8bc6..b564f1cff41 100644 --- a/libstdc++-v3/doc/Makefile.am +++ b/libstdc++-v3/doc/Makefile.am @@ -368,12 +368,9 @@ xml_noinst = \ XSLTPROC = xsltproc XSLTPROC_FLAGS = --nonet --xinclude -#XSL_STYLE_DIR = /usr/share/sgml/docbook/xsl-stylesheets -XSL_STYLE_DIR = /usr/share/sgml/docbook/xsl-ns-stylesheets +#XSL_STYLE_DIR = /usr/share/xml/docbook/stylesheet/docbook-xsl-ns +#XSL_STYLE_DIR = /usr/share/sgml/docbook/xsl-ns-stylesheets XSL_FO_STYLE = $(XSL_STYLE_DIR)/fo/docbook.xsl -#XSL_HTML_STYLE = $(XSL_STYLE_DIR)/xhtml/chunk.xsl -#XSL_HTML_SINGLE_STYLE = $(XSL_STYLE_DIR)/xhtml/onechunk.xsl -#XSL_HTML_SINGLE_STYLE = $(XSL_STYLE_DIR)/xhtml/docbook.xsl XSL_HTML_STYLE = $(XSL_STYLE_DIR)/xhtml-1_1/chunk.xsl XSL_HTML_SINGLE_STYLE = $(XSL_STYLE_DIR)/xhtml-1_1/docbook.xsl XSL_EPUB_STYLE = $(XSL_STYLE_DIR)/epub/docbook.xsl @@ -398,13 +395,11 @@ ${docbook_outdir}/xml: # Validate existing XML structure. XMLLINT = xmllint -#LINT_FLAGS = --debug --xinclude --nsclean --postvalid --nowarning --nonet -#LINT_FLAGS = --xinclude --postvalid --noent --noblanks --noout -LINT_FLAGS = --debug --xinclude --noent --noblanks --nonet --noout -#SCHEMA_FLAGS = --relaxng /usr/share/xml/docbook5/schema/rng/5.0/docbookxi.rng -SCHEMA_FLAGS = --dtdvalid /usr/share/xml/docbook5/schema/dtd/5.0/docbook.dtd +LINT_FLAGS = --debug --xinclude --noent --noblanks --noout +SCHEMA_FLAGS = http://www.docbook.org/xml/5.0/dtd/docbook.dtd +#SCHEMA_FLAGS = --nonet /usr/share/xml/docbook5/schema/dtd/5.0/docbook.dtd +XMLLINT_VALID_FLAGS = $(LINT_FLAGS) --dtdvalid $(SCHEMA_FLAGS) XMLLINT_FLAGS = --xinclude --nsclean --c14n --noent --noblanks --nocdata -XMLLINT_VALID_FLAGS = $(LINT_FLAGS) $(SCHEMA_FLAGS) doc-xml-validate-docbook: $(xml_sources) @echo "Generating XML validation log..." $(XMLLINT) $(XMLLINT_VALID_FLAGS) ${top_srcdir}/doc/xml/spine.xml |