From 97ee0953c6b405f8a71d92172af9b45d95c4407b Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Tue, 19 Jul 2011 07:34:34 -0600 Subject: [PATCH] build: detect doc generation failure Commit 8665f85 introduced a slight regression in doc generation, since make only quits a rule on the first failed command ending with a newline rather than a semicolon. * docs/Makefile.am (html/index.html): Don't use xmllint unless xsltproc succeeded. * .gitignore: Ignore recently updated stamp file name. --- .gitignore | 1 + docs/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1bfb7b9bde..486e1028ea 100644 --- a/.gitignore +++ b/.gitignore @@ -50,6 +50,7 @@ /mkinstalldirs /po/* /proxy/ +/python/generator.py.stamp /src/libvirt_iohelper /src/remote/*_client_bodies.h /src/remote/*_protocol.[ch] diff --git a/docs/Makefile.am b/docs/Makefile.am index 4ba6b9d59d..de649fe5c9 100644 --- a/docs/Makefile.am +++ b/docs/Makefile.am @@ -155,7 +155,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)/ \ - $(srcdir)/newapi.xsl $(srcdir)/libvirt-api.xml ; fi ; \ + $(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" \ > /dev/null ; then \ -- 2.47.2