summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am
index b99bf382..5cc4f3b8 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -140,7 +140,7 @@ man_MANS = xsltproc.1
if REBUILD_DOCS
-all-local: web ../NEWS libxslt.xsa $(man_MANS)
+all-local: web ../NEWS libxslt.xsa $(man_MANS) xsltproc.html
api: libxslt-api.xml libxslt-refs.xml $(APIPAGES) search.php \
html/index.html $(WIN32_DIR)/libxslt.def.src
@@ -242,6 +242,9 @@ libxslt-api.xml libxslt-refs.xml EXSLT/libexslt-api.xml \
($(XSLTPROC) $(srcdir)/checkapisym.xsl $(srcdir)/libxslt-api.xml)
($(XSLTPROC) -o ../libxslt/libxslt.syms $(srcdir)/syms.xsl $(srcdir)/symbols.xml)
+xsltproc.html: xsltproc.xml
+ -@($(XSLTPROC) --nonet -o $@ http://docbook.sourceforge.net/release/xsl/current/html/docbook.xsl xsltproc.xml)
+
xsltproc.1: $(srcdir)/xsltproc.xml
-@(if [ -x $(XSLTPROC) ] ; then \
echo "Rebuilding the man pages from the xml" ; \