summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--doc/Makefile.am5
-rw-r--r--doc/xsltproc.17
-rw-r--r--doc/xsltproc.xml2
4 files changed, 13 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 1c81b56e..1e3be416 100644
--- 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
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 3bb8623c..53932c45 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -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"
diff --git a/doc/xsltproc.1 b/doc/xsltproc.1
index 7689bb8d..d5700fe4 100644
--- a/doc/xsltproc.1
+++ b/doc/xsltproc.1
@@ -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.
diff --git a/doc/xsltproc.xml b/doc/xsltproc.xml
index dc12b83c..a76733d5 100644
--- a/doc/xsltproc.xml
+++ b/doc/xsltproc.xml
@@ -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" [
]>