[Xfce4-commits] <thunar:master> Abort dist when validating the xml file fails.

Nick Schermer noreply at xfce.org
Sat Aug 28 11:48:01 CEST 2010


Updating branch refs/heads/master
         to a07fbaf8cb2569f5ab6416f0f0e12a31e22b5b36 (commit)
       from ac4b8b291a224918cddf0cf6eaf8078c4e23dfb5 (commit)

commit a07fbaf8cb2569f5ab6416f0f0e12a31e22b5b36
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Aug 28 11:46:02 2010 +0200

    Abort dist when validating the xml file fails.

 docs/manual/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/docs/manual/Makefile.am b/docs/manual/Makefile.am
index 1dcfcb8..57c7c00 100644
--- a/docs/manual/Makefile.am
+++ b/docs/manual/Makefile.am
@@ -72,7 +72,7 @@ doc-build.stamp: $(srcdir)/$(DOCUMENT) $(srcdir)/$(STYLESHEET)
 			-e "s,\@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g" \
 			-i xgen-doc; \
 		echo "Validating DocBook XML file"; \
-		$(XMLLINT) --noout --valid xgen-doc; \
+		$(XMLLINT) --noout --valid xgen-doc || exit 1; \
 		echo "Creating the HTML pages"; \
 		$(XSLTPROC) --nonet -o $(srcdir)/html/$$lang/ $(srcdir)/$(STYLESHEET) xgen-doc; \
 		chmod -R u+w $(srcdir)/html/$$lang; \



More information about the Xfce4-commits mailing list