X-Git-Url: http://lists.indexdata.com/cgi-bin?a=blobdiff_plain;f=etc%2FMakefile.am;h=29f1dd905674ec6977c265d97e4b3be2df73cb27;hb=0264192f26c10308aad161983ea29568c96521a6;hp=fc3dfc0e0511e31a845c16334c7133889c66a7ef;hpb=4b3338b53834d73bfc526b8a374fa40e1a062bec;p=metaproxy-moved-to-github.git diff --git a/etc/Makefile.am b/etc/Makefile.am index fc3dfc0..29f1dd9 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -1,29 +1,31 @@ -# $Id: Makefile.am,v 1.5 2006-10-10 15:41:51 marc 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. etcdatadir = $(pkgdatadir)/etc -xmlconfig = config-bytarget.xml \ - config-local.xml \ - config-record-transform.xml \ - config-shared1.xml \ - config-simple-multi.xml \ - config-sru-to-z3950.xml \ - config-zurg.xml \ - config0.xml \ - config1.xml \ - config2.xml \ - config3.xml \ - config4.xml \ - config5.xml +xmlconfig = $(srcdir)/config-bytarget.xml \ + $(srcdir)/config-local.xml \ + $(srcdir)/config-load-balance.xml \ + $(srcdir)/config-record-transform.xml \ + $(srcdir)/config-shared1.xml \ + $(srcdir)/config-simple-multi.xml \ + $(srcdir)/config-sru-to-z3950.xml \ + $(srcdir)/config-zurg.xml \ + $(srcdir)/config0.xml \ + $(srcdir)/config1.xml \ + $(srcdir)/config2.xml \ + $(srcdir)/config3.xml \ + $(srcdir)/config4.xml \ + $(srcdir)/config5.xml \ + $(srcdir)/retrieval-info.xml -config = example.simple-auth example.target-auth pqf2pqf.xsl +config = example.simple-auth example.target-auth pqf2pqf.xsl explain.xml -rng = ../xml/schema/metaproxy.rng -xsd = ../xml/schema/metaproxy.xsd +rng = $(srcdir)/../xml/schema/metaproxy.rng +xsd = $(srcdir)/../xml/schema/metaproxy.xsd etcdata_DATA = $(xmlconfig) $(config) @@ -31,15 +33,13 @@ EXTRA_DIST = $(etcdata_DATA) .PHONY: check_rng check_rng: - xmllint --noout --relaxng $(rng) $(xmlconfig) + xmllint --noout --xinclude --relaxng $(rng) $(xmlconfig) +## Only run XSD checks for a "new" Libxml2 .PHONY: check_xsd check_xsd: - xmllint --noout --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: - $(MAKE) check_xsd - $(MAKE) check_rng +check-local: check_rng check_xsd