X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=etc%2FMakefile.am;h=5dbb9fb2be70c143746d8d687e3916e8ef7063b3;hb=8030de74a37426f2f0c880b8d7d076c7b974d2cf;hp=48ed80ce94883c21076d687f327b37b7244c1fac;hpb=83a25d84707e8a11b52d987ce177cc348990268e;p=metaproxy-moved-to-github.git diff --git a/etc/Makefile.am b/etc/Makefile.am index 48ed80c..5dbb9fb 100644 --- a/etc/Makefile.am +++ b/etc/Makefile.am @@ -1,4 +1,3 @@ -# $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. @@ -20,9 +19,15 @@ xmlconfig = $(srcdir)/config-bytarget.xml \ $(srcdir)/config3.xml \ $(srcdir)/config4.xml \ $(srcdir)/config5.xml \ + $(srcdir)/config-cgi.xml \ + $(srcdir)/config-solr.xml \ + $(srcdir)/config-zoom.xml \ + $(srcdir)/config-proxy.xml \ + $(srcdir)/config-rewrite.xml \ $(srcdir)/retrieval-info.xml -config = example.simple-auth example.target-auth pqf2pqf.xsl explain.xml +config = example.simple-auth example.target-auth pqf2pqf.xsl explain.xml \ + ztest.pem rng = $(srcdir)/../xml/schema/metaproxy.rng @@ -30,17 +35,20 @@ xsd = $(srcdir)/../xml/schema/metaproxy.xsd etcdata_DATA = $(xmlconfig) $(config) -EXTRA_DIST = $(etcdata_DATA) +EXTRA_DIST = $(etcdata_DATA) cgi.sh .PHONY: check_rng -check_rng: - xmllint --noout --xinclude --relaxng $(rng) $(xmlconfig) +check_rng: + if test -f $(rng); then \ + xmllint --noout --xinclude --relaxng $(rng) $(xmlconfig); \ + fi ## Only run XSD checks for a "new" Libxml2 .PHONY: check_xsd check_xsd: 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 +#check-local: check_rng check_xsd +check-local: check_rng