From: Adam Dickmeiss Date: Sat, 17 Feb 2007 13:03:29 +0000 (+0000) Subject: Only run XSD checks for a "new" Libxml2. X-Git-Tag: METAPROXY.1.0.10~42 X-Git-Url: http://lists.indexdata.dk/?a=commitdiff_plain;h=27d10f82125cc4e9307625b37afb36a9653085fc;p=metaproxy-moved-to-github.git Only run XSD checks for a "new" Libxml2. --- diff --git a/etc/Makefile.am b/etc/Makefile.am index 5b5c451..29f1dd9 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -1,4 +1,4 @@ -# $Id: Makefile.am,v 1.11 2007-02-16 09:00:42 adam Exp $ +# $Id: Makefile.am,v 1.12 2007-02-17 13:03:29 adam Exp $ # This doesn't actually build anything, it just tests whether the # configuration files here correspond with the schema. @@ -35,10 +35,10 @@ EXTRA_DIST = $(etcdata_DATA) check_rng: xmllint --noout --xinclude --relaxng $(rng) $(xmlconfig) +## Only run XSD checks for a "new" Libxml2 .PHONY: check_xsd check_xsd: - xmllint --noout --xinclude --schema $(xsd) $(xmlconfig) - + if test `xmllint --version 2>&1 |head -1|awk '{print $$5}'` -gt 20622; then xmllint --noout --xinclude --schema $(xsd) $(xmlconfig); fi check-local: check_rng check_xsd