summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Viard <fviard@lacie.com>2010-02-01 17:26:46 +0000
committerBastien Nocera <hadess@hadess.net>2010-02-01 17:28:44 +0000
commit08561171f346a1535f224f0ef0c82d9b80e280f8 (patch)
treea5850c186fe8a59740ac1728062824ee57155cc1
parent706dd4ea26ae89ed99c35b5d31310725c9cb865a (diff)
downloadshared-mime-info-08561171f346a1535f224f0ef0c82d9b80e280f8.tar.gz
And another fix when fd.o.xml already exists in srcdir
http://bugs.freedesktop.org/show_bug.cgi?id=26273
-rw-r--r--Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index de1fb20a..b4cc9eec 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -72,7 +72,11 @@ all: check
check: freedesktop.org.xml check-translations
if test -n $(XMLLINT) ; then \
+ if test -e $(top_builddir)/freedesktop.org.xml; then \
xmllint --noout --valid $(top_builddir)/freedesktop.org.xml; \
+ else \
+ xmllint --noout --valid $(top_srcdir)/freedesktop.org.xml; \
+ fi \
fi
if test -d .git/ && test -x ../xdgmime/src/test-mime-data && test -x $(top_builddir)/test-tree-magic ; then \
mkdir -p $(top_builddir)/temp-mime-dir/mime/packages ; \