Commit 3c853731 authored by Bastien Nocera's avatar Bastien Nocera
Browse files

build: Error out on invalid XML

So that it's clear that the xml DTD checking failed.
parent 1b26e811
......@@ -75,9 +75,9 @@ create-pot:
check: create-pot freedesktop.org.xml update-mime-database check-translations
if test -e $(top_builddir)/freedesktop.org.xml; then \
xmllint --noout --valid $(top_builddir)/freedesktop.org.xml; \
xmllint --noout --valid $(top_builddir)/freedesktop.org.xml || exit 1; \
else \
xmllint --noout --valid $(top_srcdir)/freedesktop.org.xml; \
xmllint --noout --valid $(top_srcdir)/freedesktop.org.xml || exit 1; \
fi; \
if test -d .git/ && test -x $(top_builddir)/update-mime-database && test -d $(top_srcdir)/mime-db-tests ; then \
$(top_builddir)/update-mime-database mime-db-tests/ ; \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment