Commit 04f2e23a authored by Bastien Nocera's avatar Bastien Nocera

build: Always validate freedesktop.org.xml

parent 0033d3d0
......@@ -104,11 +104,7 @@ check: create-pot freedesktop.org.xml update-mime-database$(EXEEXT) check-transl
if CROSS_COMPILING
@echo "Cross compiling: Skipping checks"
else
if test -e $(top_builddir)/freedesktop.org.xml; then \
xmllint --noout --valid $(top_builddir)/freedesktop.org.xml || exit 1; \
else \
xmllint --noout --valid $(top_srcdir)/freedesktop.org.xml || exit 1; \
fi; \
xmllint --noout --valid $(top_builddir)/freedesktop.org.xml || exit 1; \
if test -d .git/ && test -x $(top_builddir)/update-mime-database$(EXEEXT) && test -d $(top_srcdir)/mime-db-tests ; then \
$(top_builddir)/update-mime-database$(EXEEXT) mime-db-tests/ ; \
fi
......
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