Docbook: use custom stylesheet

With the custom stylesheet, functions are rendered using ANSI-C syntax
and xmlto is a bit quieter.

Signed-off-by: Martin Waitz <[EMAIL PROTECTED]>

---
 Documentation/DocBook/Makefile       |    3 ++-
 Documentation/DocBook/stylesheet.xsl |    5 +++++
 2 files changed, 7 insertions(+), 1 deletion(-)

Index: linux-docbook/Documentation/DocBook/Makefile
===================================================================
--- linux-docbook.orig/Documentation/DocBook/Makefile   2005-04-06 
15:46:05.000000000 +0200
+++ linux-docbook/Documentation/DocBook/Makefile        2005-04-10 
12:57:53.678951360 +0200
@@ -49,7 +49,8 @@ installmandocs: mandocs
 KERNELDOC = scripts/kernel-doc
 DOCPROC   = scripts/basic/docproc
 
-#XMLTOFLAGS = --skip-validation
+XMLTOFLAGS = -m Documentation/DocBook/stylesheet.xsl
+#XMLTOFLAGS += --skip-validation
 
 ###
 # DOCPROC is used for two purposes:
Index: linux-docbook/Documentation/DocBook/stylesheet.xsl
===================================================================
--- /dev/null   1970-01-01 00:00:00.000000000 +0000
+++ linux-docbook/Documentation/DocBook/stylesheet.xsl  2005-04-09 
13:59:56.000000000 +0200
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<stylesheet xmlns="http://www.w3.org/1999/XSL/Transform"; version="1.0">
+<param name="chunk.quietly">1</param>
+<param name="funcsynopsis.style">ansi</param>
+</stylesheet>

--
Martin Waitz
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to