Add a NEWS.Debian entry for the shibd run-time user change
[shibboleth/sp.git] / schemas / Makefile.am
1 ## $Id: Makefile.am 3168 2009-10-31 20:34:11Z cantor $ 
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
17 pkgxml_DATA = \
18         catalog.xml \
19         $(schemafiles)
20
21 #
22 # Some of these need building
23 #
24 do-build-file:
25         rm -f ${FILE}.tmp
26         sed < ${srcdir}/${FILE}.in > ${FILE}.tmp \
27             -e 's:@-PKGXMLDIR-@:${pkgxmldir}:g'
28         cmp -s ${FILE} ${FILE}.tmp || mv ${FILE}.tmp ${FILE}
29         rm -f ${FILE}.tmp
30
31 catalog.xml: ${srcdir}/catalog.xml.in Makefile ${top_builddir}/config.status
32         $(MAKE) do-build-file FILE=$@
33
34 CLEANFILES = catalog.xml
35
36 EXTRA_DIST = catalog.xml.in \
37         $(schemafiles)