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

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


Updating branch refs/heads/master
         to 1a2b5ab68240dd311bec500aa11fa4f957ea35f7 (commit)
       from 132d01150b5fc2448fc2fe9020a6b325aeacc448 (commit)

commit 1a2b5ab68240dd311bec500aa11fa4f957ea35f7
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Aug 28 11:45:15 2010 +0200

    Abort dist when validating the xml file fails.

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

diff --git a/doc/manual/Makefile.am b/doc/manual/Makefile.am
index 392252b..1c4b6c1 100644
--- a/doc/manual/Makefile.am
+++ b/doc/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