X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=etc%2FMakefile.am;h=48ed80ce94883c21076d687f327b37b7244c1fac;hb=06a2a8a438c7b73aa9a0de228683fc8b9e52221e;hp=5b5c451fe1d6179656dbd4c92c567294e0fab662;hpb=64d4e7e4e1d3f87b5aa12a93170f7424e1918f16;p=metaproxy-moved-to-github.git diff --git a/etc/Makefile.am b/etc/Makefile.am index 5b5c451..48ed80c 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.13 2008-01-30 11:42:01 adam Exp $ # This doesn't actually build anything, it just tests whether the # configuration files here correspond with the schema. @@ -12,6 +12,7 @@ xmlconfig = $(srcdir)/config-bytarget.xml \ $(srcdir)/config-shared1.xml \ $(srcdir)/config-simple-multi.xml \ $(srcdir)/config-sru-to-z3950.xml \ + $(srcdir)/config-sru-holdings.xml \ $(srcdir)/config-zurg.xml \ $(srcdir)/config0.xml \ $(srcdir)/config1.xml \ @@ -35,10 +36,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