about summary refs log tree commit diff
path: root/doc/manual
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-08-14T18·17+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-08-14T18·17+0000
commita24cb1936141981c3b3d5cd30433bb1e57d7dc76 (patch)
treef13ed03bb0cf013136fd2a893c3695c5dcc247c0 /doc/manual
parent9ee3b7a37a658dc5d3d1831e4155629e18a866f4 (diff)
* Use xmllint instead of nsgmls to validate the manual.
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/Makefile.am5
-rw-r--r--doc/manual/book.xml4
2 files changed, 5 insertions, 4 deletions
diff --git a/doc/manual/Makefile.am b/doc/manual/Makefile.am
index 65f1f3f44134..5bd256658bdf 100644
--- a/doc/manual/Makefile.am
+++ b/doc/manual/Makefile.am
@@ -1,13 +1,12 @@
 DOCBOOK_DTD = /nix/current/xml/dtd/docbook
 DOCBOOK_XSL = /nix/current/xml/xsl/docbook
-XML = /usr/share/doc/packages/sp/html-xml/xml.soc
 
 SOURCES = book.xml introduction.xml installation.xml nix-reference.xml \
  troubleshooting.xml bugs.xml
 
 book.is-valid: $(SOURCES)
-	SP_CHARSET_FIXED=YES SP_ENCODING=XML \
-	nsgmls -wxml -c $(XML) -c $(DOCBOOK_DTD)/docbook.cat -ges $<
+	SGML_CATALOG_FILES=$(DOCBOOK_DTD)/docbook.cat \
+	xmllint --catalogs --noout --valid book.xml
 	touch $@
 
 man1_MANS = nix.1 fix.1
diff --git a/doc/manual/book.xml b/doc/manual/book.xml
index 1f54d4efdaed..a2035fca7f1c 100644
--- a/doc/manual/book.xml
+++ b/doc/manual/book.xml
@@ -1,5 +1,7 @@
 <?xml version="1.0"?>
-<!DOCTYPE book SYSTEM "/nix/current/xml/dtd/docbook/docbookx.dtd"
+<!DOCTYPE book
+    PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
+    "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
 [
 <!ENTITY introduction SYSTEM "introduction.xml">
 <!ENTITY installation SYSTEM "installation.xml">