diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-08-14T18·24+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-08-14T18·24+0000 |
commit | 161aab582bb3d794414c0275ff8216292f85ab5c (patch) | |
tree | d50c2ca2c61c7d1189f71447aaeb985a156b1c8d /doc | |
parent | a24cb1936141981c3b3d5cd30433bb1e57d7dc76 (diff) |
* Use a catalog when calling xsltproc.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/manual/Makefile.am | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/manual/Makefile.am b/doc/manual/Makefile.am index 5bd256658bdf..63464002bef3 100644 --- a/doc/manual/Makefile.am +++ b/doc/manual/Makefile.am @@ -1,21 +1,25 @@ DOCBOOK_DTD = /nix/current/xml/dtd/docbook DOCBOOK_XSL = /nix/current/xml/xsl/docbook +ENV = SGML_CATALOG_FILES=$(DOCBOOK_DTD)/docbook.cat + +XMLLINT = $(ENV) xmllint --catalogs +XSLTPROC = $(ENV) xsltproc --catalogs + SOURCES = book.xml introduction.xml installation.xml nix-reference.xml \ troubleshooting.xml bugs.xml book.is-valid: $(SOURCES) - SGML_CATALOG_FILES=$(DOCBOOK_DTD)/docbook.cat \ - xmllint --catalogs --noout --valid book.xml + $(XMLLINT) --noout --valid book.xml touch $@ man1_MANS = nix.1 fix.1 man nix.1 fix.1: $(SOURCES) book.is-valid - xsltproc $(DOCBOOK_XSL)/manpages/docbook.xsl book.xml + $(XSLTPROC) $(DOCBOOK_XSL)/manpages/docbook.xsl book.xml book.html: $(SOURCES) book.is-valid - xsltproc --output book.html $(DOCBOOK_XSL)/html/docbook.xsl book.xml + $(XSLTPROC) --output book.html $(DOCBOOK_XSL)/html/docbook.xsl book.xml all-local: book.html |