summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-02-16 16:22:01 +0100
committerNick Wellnhofer <wellnhofer@aevum.de>2022-02-16 17:27:55 +0100
commit5f575507549da889660617290606e5cc437fc8ab (patch)
treed5fa22ff5d93572a1627c72683894ae9ccbed3ad /doc
parent0d157022037828935f06e8e97928c42fa1053435 (diff)
downloadlibxslt-5f575507549da889660617290606e5cc437fc8ab.tar.gz
Add Makefile rule to regenerate xsltproc.html
This file has never been updated since it was added 15 years ago.
Diffstat (limited to 'doc')
-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" ; \