diff options
author | William M. Brack <wbrack@src.gnome.org> | 2004-01-10 09:07:09 +0000 |
---|---|---|
committer | William M. Brack <wbrack@src.gnome.org> | 2004-01-10 09:07:09 +0000 |
commit | a9b1363e0219e525792c65f0d0602995cf04e247 (patch) | |
tree | 608ff25f992fae96b6aa0a97442f871ac4b3e839 /doc/Makefile.am | |
parent | c2b06559f52f23285dfd07a9ba11491a3cc8b789 (diff) | |
download | libxslt-a9b1363e0219e525792c65f0d0602995cf04e247.tar.gz libxslt-a9b1363e0219e525792c65f0d0602995cf04e247.tar.bz2 libxslt-a9b1363e0219e525792c65f0d0602995cf04e247.zip |
Added new facility to "autogen" the search script. Fixed a few more
* doc/search.xml, doc/search.templ, doc/Makefile.am,
doc/search.php.inc: Added new facility to "autogen"
the search script. Fixed a few more problems with
the API page generation.
* doc/site.xsl, doc/api.xsl, doc/newapi.xsl: integrated
the autogeneration of the php script. Note that from
this point doc/search.php will be include in the
generic "Rebuilt docs".
* doc/*: api docs rebuilt.
Diffstat (limited to 'doc/Makefile.am')
-rw-r--r-- | doc/Makefile.am | 40 |
1 files changed, 28 insertions, 12 deletions
diff --git a/doc/Makefile.am b/doc/Makefile.am index f0ae3f86..2356e943 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -15,36 +15,41 @@ HTML_DIR=$(datadir)/doc WIN32_DIR=$(top_srcdir)/win32 TARGET_DIR=$(HTML_DIR)/$(DOC_MODULE)/html -PAGES= API.html bugs.html contribs.html docs.html downloads.html \ - help.html index.html intro.html news.html xsltproc2.html FAQ.html +PAGES= API.html bugs.html contribs.html FAQ.html docs.html \ + downloads.html help.html index.html intro.html news.html \ + xsltproc2.html EPAGES= EXSLT/bugs.html EXSLT/docs.html EXSLT/downloads.html \ EXSLT/help.html EXSLT/index.html EXSLT/intro.html -APIPAGES=APIconstructors.html APIfiles.html \ - APIfunctions.html APIsymbols.html APIchunk0.html +APIPAGES=APIconstructors.html APIfiles.html APIfunctions.html \ + APIsymbols.html APIchunk0.html search.templ EAPIPAGES=EXSLT/APIconstructors.html EXSLT/APIfiles.html \ EXSLT/APIfunctions.html EXSLT/APIsymbols.html EXSLT/APIchunk0.html EXTRA_DIST = \ - xslt.html \ + api.xsl \ + apibuild.py \ EXSLT/exslt.html \ - libxslt-api.xml \ - libxslt-refs.xml \ EXSLT/libexslt-api.xml \ EXSLT/libexslt-refs.xml \ - xsltproc.xml \ - apibuild.py \ + libxslt-api.xml \ + libxslt-refs.xml \ libxslt.xsa \ - news.xsl + newapi.xsl \ + news.xsl \ + search.xml \ + site.xsl \ + xslt.html \ + xsltproc.xml man_MANS = xsltproc.1 all: web ../NEWS libxslt.xsa $(man_MANS) -api: libxslt-api.xml libxslt-refs.xml $(APIPAGES) html/index.html \ - $(WIN32_DIR)/libxslt.def.src +api: libxslt-api.xml libxslt-refs.xml $(APIPAGES) search.php \ + html/index.html $(WIN32_DIR)/libxslt.def.src eapi: EXSLT/libexslt-api.xml EXSLT/libexslt-refs.xml $(EAPIPAGES) \ EXSLT/html/index.html $(WIN32_DIR)/libexslt.def.src @@ -139,6 +144,17 @@ libxslt-api.xml libxslt-refs.xml EXSLT/libexslt-api.xml \ xsltproc.1: xsltproc.xml -@(xsltproc --nonet xsltproc.xml) +# Note that in the following, xmllint output is piped to xsltproc +search.php: $(srcdir)/api.xsl $(srcdir)/site.xsl $(srcdir)/search.templ \ + $(srcdir)/search.xml $(srcdir)/search.php.inc + -@(if test -x $(bindir)/xmllint -a -x $(bindir)/xsltproc; then \ + echo "Rebuilding search.php" ; \ + $(bindir)/xmllint --xinclude --nonet \ + $(srcdir)/search.xml | \ + $(bindir)/xsltproc --nonet - search.templ \ + > search.php ; else \ + echo "Unable to find xmllint or xsltproc in $(bindir)" ; fi) + $(WIN32_DIR)/libxslt.def.src: libxslt-api.xml -@(if [ -x $(bindir)/xsltproc ] ; then \ $(bindir)/xsltproc -o $(WIN32_DIR)/libxslt.def.src \ |