## This file is part of Metaproxy
## Copyright (C) 2005-2006, Index Data ApS
-## $Id: Makefile.am,v 1.12 2006-04-27 08:51:31 adam Exp $
+## $Id: Makefile.am,v 1.13 2006-04-27 17:01:00 adam Exp $
-SUBDIRS = src doc
+SUBDIRS = src doc etc
ACLOCAL_AMFLAGS = -I m4
--- /dev/null
+# $Id: Makefile.am,v 1.1 2006-04-27 17:01:00 adam Exp $
+
+# This doesn't actually build anything, it just tests whether the
+# configuration files here correspond with the schema.
+
+etcdatadir = $(pkgdatadir)/etc
+
+config = config0.xml config1.xml config2.xml \
+ config3.xml config4.xml config5.xml \
+ config-simple-multi.xml
+
+misc = example.simple-auth example.target-auth pqf2pqf.xsl
+
+etcdata_DATA = $(config) $(misc)
+
+EXTRA_DIST = $(etcdata_DATA)
+
+test: test-config0 test-config1 test-config2 \
+ test-config3 test-config4 test-config5 \
+ test-config-simple-multi
+
+test-%: %.xml config.xsd
+ xmllint --noout --schema config.xsd $<
+