First set of logout base classes and non-building draft of SP-initiated logout.
[shibboleth/sp.git] / schemas / Makefile.am
1 ## $Id$ 
2
3 AUTOMAKE_OPTIONS = foreign
4
5 pkgxmldir = $(datadir)/xml/@PACKAGE@
6
7 schemafiles = \
8     shibboleth.xsd \
9     shibboleth-metadata-1.0.xsd \
10     shibboleth-2.0-native-sp-config.xsd \
11     shibboleth-2.0-afp.xsd \
12     shibboleth-2.0-afp-mf-basic.xsd \
13     shibboleth-2.0-afp-mf-saml.xsd \
14     shibboleth-2.0-attribute-map.xsd \
15     metadata_v12_to_v13.xsl \
16     metadata_v13_to_v12.xsl \
17     trust_v13_to_v12.xsl
18
19 pkgxml_DATA = \
20         catalog.xml \
21         $(schemafiles)
22
23 #
24 # Some of these need building
25 #
26 do-build-file:
27         rm -f ${FILE}.tmp
28         sed < ${srcdir}/${FILE}.in > ${FILE}.tmp \
29             -e 's:@-PKGXMLDIR-@:${pkgxmldir}:g'
30         cmp -s ${FILE} ${FILE}.tmp || mv ${FILE}.tmp ${FILE}
31         rm -f ${FILE}.tmp
32
33 catalog.xml: ${srcdir}/catalog.xml.in Makefile ${top_builddir}/config.status
34         $(MAKE) do-build-file FILE=$@
35
36 CLEANFILES = catalog.xml
37
38 EXTRA_DIST = catalog.xml.in \
39         $(schemafiles)