Skip to content
Snippets Groups Projects
Commit a07fbaf8 authored by Nick Schermer's avatar Nick Schermer
Browse files

Abort dist when validating the xml file fails.

parent ac4b8b29
No related branches found
No related tags found
No related merge requests found
......@@ -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; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment