[Xfce4-commits] <terminal:master> Abort if validating the xml file fails.

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


Updating branch refs/heads/master
         to c2a905ca292305401239e9286dbada3269e0b297 (commit)
       from b44698c2d44ed63fd71c24b3e7bb94b8714aa941 (commit)

commit c2a905ca292305401239e9286dbada3269e0b297
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Aug 28 11:47:57 2010 +0200

    Abort if validating the xml file fails.

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

diff --git a/doc/Makefile.am b/doc/Makefile.am
index cb1ec89..ca5ae65 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -103,7 +103,7 @@ doc-build.stamp: $(srcdir)/$(DOCUMENT) $(srcdir)/$(MANPAGE) $(srcdir)/$(HTML_STY
 			-e "s,\@PACKAGE_VERSION\@,$(PACKAGE_VERSION),g" \
 			-i xgen-doc xgen-man; \
 		echo "Validating DocBook XML files"; \
-		$(XMLLINT) --noout --valid xgen-doc xgen-man; \
+		$(XMLLINT) --noout --valid xgen-doc xgen-man || exit 1; \
 		echo "Creating the HTML pages"; \
 		$(XSLTPROC) --nonet -o $(srcdir)/html/$$lang/ $(srcdir)/$(HTML_STYLESHEET) xgen-doc; \
 		echo "Creating the MAN page"; \



More information about the Xfce4-commits mailing list