automated the generation of the man page Daniel
authorDaniel Veillard <veillard@src.gnome.org>
Fri, 25 Apr 2003 13:27:22 +0000 (13:27 +0000)
committerDaniel Veillard <veillard@src.gnome.org>
Fri, 25 Apr 2003 13:27:22 +0000 (13:27 +0000)
* doc/Makefile.am doc/xsltproc.1 doc/xsltproc.xml: automated the
  generation of the man page
Daniel

ChangeLog
doc/Makefile.am
doc/xsltproc.1
doc/xsltproc.xml

index 1c81b56..1e3be41 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Fri Apr 25 15:26:26 CEST 2003 Daniel Veillard <daniel@veillard.com>
+
+       * doc/Makefile.am doc/xsltproc.1 doc/xsltproc.xml: automated the
+         generation of the man page
+
 Wed Apr 23 23:27:44 CEST 2003 Daniel Veillard <daniel@veillard.com>
 
        * libexslt/sets.c: fixed a bug introduced in the last commit
index 3bb8623..53932c4 100644 (file)
@@ -27,7 +27,7 @@ APIPAGES=APIconstructors.html APIfiles.html APIfunctions.html \
 
 man_MANS = xsltproc.1
 
-all : $(PAGES) $(top_srcdir)/NEWS libxslt.xsa
+all : $(PAGES) $(top_srcdir)/NEWS libxslt.xsa $(man_MANS)
 
 tests:
 
@@ -49,6 +49,9 @@ $(APIPAGES): libxslt-refs.xml site.xsl api.xsl
        -@(if [ -x $(bindir)/xsltproc ] ; then \
          $(bindir)/xsltproc --html $(srcdir)/api.xsl $(srcdir)/xslt.html ; fi );
 
+xsltproc.1: xsltproc.xml
+       -@(xsltproc xsltproc.xml)
+
 scan:
        -gtkdoc-scan --module=libxslt --source-dir=$(DOC_SOURCE_DIR)/libxslt --ignore-headers="acconfig.h config.h win32config.h"
 #      gtkdoc-scan --module=libexslt --source-dir=$(DOC_SOURCE_DIR)/libexslt --ignore-headers="acconfig.h config.h win32config.h"
index 7689bb8..d5700fe 100644 (file)
@@ -90,10 +90,7 @@ The input document is an HTML file.
 
 .TP
 \fB--docbook\fR
-The input document is DocBook SGML.
-Do not use the --docbook option of xsltproc to process XML DocBook
-documents, this option is only intended to provide some (limited) support
-of the SGML version of DocBook.
+The input document is DocBook SGML. Do not use the --docbook option of xsltproc to process XML DocBook documents, this option is only intended to provide some (limited) support of the SGML version of DocBook.
 
 .TP
 \fB--param\fR \fIname\fR \fIvalue\fR
@@ -182,4 +179,4 @@ libxml web page:: http://www.xmlsoft.org/http://www.xmlsoft.org/
 W3C XSLT page:: http://www.w3.org/TR/xslthttp://www.w3.org/TR/xslt
 
 .SH AUTHOR
-.
+John Fleck.
index dc12b83..a76733d 100644 (file)
@@ -1,4 +1,6 @@
 <?xml version="1.0"?>
+<?xml-stylesheet type="text/xsl"
+   href="http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl"?>
 <!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
     "http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd" [
 ]>