about summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-25T14·54+0100
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-11-25T14·54+0100
commitd4c8ee70598e6f7908e8667affaeebc031fce06a (patch)
treecc6fffe4eb524cfeadae5d8a2a8892b97c6cd0ef /doc
parent976df480c918f050608f7a23a4a21415c43475c3 (diff)
Rely on XML catalogs to find the DocBook schemas and stylesheets
Diffstat (limited to 'doc')
-rw-r--r--doc/manual/installation/building-source.xml10
-rw-r--r--doc/manual/local.mk4
2 files changed, 4 insertions, 10 deletions
diff --git a/doc/manual/installation/building-source.xml b/doc/manual/installation/building-source.xml
index 2202ec73febe..772cda9cc36c 100644
--- a/doc/manual/installation/building-source.xml
+++ b/doc/manual/installation/building-source.xml
@@ -46,12 +46,4 @@ packages will need to be built from source.</para></warning>
 <filename>/nix/var</filename> by default.  This can be changed using
 <option>--localstatedir=<replaceable>path</replaceable></option>.</para>
 
-<para>If you want to rebuild the documentation, pass the full path to
-the DocBook RELAX NG schemas and to the DocBook XSL stylesheets using
-the
-<option>--with-docbook-rng=<replaceable>path</replaceable></option>
-and
-<option>--with-docbook-xsl=<replaceable>path</replaceable></option>
-options.</para>
-
-</section>
\ No newline at end of file
+</section>
diff --git a/doc/manual/local.mk b/doc/manual/local.mk
index a4df921b466a..4caef57783c0 100644
--- a/doc/manual/local.mk
+++ b/doc/manual/local.mk
@@ -9,6 +9,8 @@ XSLTPROC = $(xsltproc) --nonet $(xmlflags) \
   --param contrib.inline.enabled 0 \
   --stringparam generate.toc "book toc"
 
+docbookxsl = http://docbook.sourceforge.net/release/xsl-ns/1.78.1/
+
 MANUAL_SRCS := $(call rwildcard, $(d), *.xml)
 
 
@@ -24,7 +26,7 @@ $(d)/version.txt:
 $(d)/manual.is-valid: $(d)/manual.xmli
 	$(trace-gen) $(XSLTPROC) --novalid --stringparam profile.condition manual \
 	  $(docbookxsl)/profiling/profile.xsl $< 2> /dev/null | \
-	  $(xmllint) --nonet --noout --relaxng $(docbookrng)/docbook.rng -
+	  $(xmllint) --nonet --noout --relaxng http://www.oasis-open.org/docbook/xml/5.0/rng/docbook.rng -
 	@touch $@
 
 clean-files += $(d)/manual.xmli $(d)/version.txt $(d)/manual.is-valid