Add back missing string type.
[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     shibboleth-2.0-sp-notify.xsd \
16     WS-Trust.xsd \
17     metadata_v12_to_v13.xsl \
18     metadata_v13_to_v12.xsl \
19     trust_v13_to_v12.xsl
20
21 pkgxml_DATA = \
22         catalog.xml \
23         $(schemafiles)
24
25 #
26 # Some of these need building
27 #
28 do-build-file:
29         rm -f ${FILE}.tmp
30         sed < ${srcdir}/${FILE}.in > ${FILE}.tmp \
31             -e 's:@-PKGXMLDIR-@:${pkgxmldir}:g'
32         cmp -s ${FILE} ${FILE}.tmp || mv ${FILE}.tmp ${FILE}
33         rm -f ${FILE}.tmp
34
35 catalog.xml: ${srcdir}/catalog.xml.in Makefile ${top_builddir}/config.status
36         $(MAKE) do-build-file FILE=$@
37
38 CLEANFILES = catalog.xml
39
40 EXTRA_DIST = catalog.xml.in \
41         $(schemafiles)