From: Jiri Denemark Date: Fri, 20 Sep 2013 09:47:39 +0000 (+0200) Subject: docs: Load libvirt_access*.xml from build dir X-Git-Tag: v1.1.3-rc1~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0543e0d212a8ed61ca59623b5fe3b5678b8426ef;p=thirdparty%2Flibvirt.git docs: Load libvirt_access*.xml from build dir The xml files are generated in build directory and thus docs/newapi.xsl was not able to find them in a VPATH build. Signed-off-by: Jiri Denemark --- diff --git a/docs/Makefile.am b/docs/Makefile.am index c6a3eadc95..9de3406d87 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -242,6 +242,7 @@ internals/%.html.tmp: internals/%.html.in subsite.xsl page.xsl sitemap.html.in html/index.html: libvirt-api.xml newapi.xsl page.xsl sitemap.html.in $(AM_V_GEN)if [ -x $(XSLTPROC) ] ; then \ $(XSLTPROC) --nonet -o $(srcdir)/ \ + --stringparam builddir '$(abs_top_builddir)' \ $(srcdir)/newapi.xsl $(srcdir)/libvirt-api.xml ; fi && \ if test -x $(XMLLINT) && test -x $(XMLCATALOG) ; then \ if $(XMLCATALOG) '$(XML_CATALOG_FILE)' "-//W3C//DTD XHTML 1.0 Strict//EN" \ diff --git a/docs/newapi.xsl b/docs/newapi.xsl index 606d24436b..7fa0f26889 100644 --- a/docs/newapi.xsl +++ b/docs/newapi.xsl @@ -25,18 +25,20 @@ + + html ../ - + - + - +