AUTOMAKE_OPTIONS = foreign
-logdir=${localstatedir}/log/shibboleth
+pkglogdir = ${localstatedir}/log/@PACKAGE@
+shirelogdir = ${localstatedir}/log/httpd
+pkgxmldir = $(datadir)/xml/@PACKAGE@
+varrundir = $(localstatedir)/run
pkgsysconfdir = $(sysconfdir)/@PACKAGE@
pkgsysconf_DATA = \
+ shibd \
apache.config \
apache2.config \
- inqueue.pem
+ apache22.config
# The config files are installed "special". Unlike the entries in
# pkgsysconf_DATA, these files are installed as "foo.dist" and only
# installed as "foo" if "foo" does not already exist. In other words,
# the config files will not overwrite existing versions.
-CONFIGFILES = \
+BUILTCONFIGFILES = \
shibboleth.xml \
- shibboleth.logger \
- shire.logger \
- shar.logger \
+ native.logger \
+ shibd.logger \
+ resolver-simple.xml \
+ example-metadata.xml
+
+# While BUILTCONFIGFILES are processed, these are not; so we should pull
+# them from SRCDIR.
+CONFIGFILES = \
+ console.logger \
+ syslog.logger \
accessError.html \
rmError.html \
- shireError.html \
- AAP.xml \
- IQ-sites.xml \
- IQ-trust.xml \
- shar.key \
- shar.crt
+ sessionError.html \
+ metadataError.html \
+ sslError.html \
+ sp-example.key \
+ sp-example.crt
#
# Some of these need building
-e 's:@-PREFIX-@:${prefix}:' \
-e 's:@-LIBEXECDIR-@:${libexecdir}:' \
-e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:' \
- -e 's:@-LOGDIR-@:${logdir}:'
+ -e 's:@-PKGXMLDIR-@:${pkgxmldir}:' \
+ -e 's:@-PKGLOGDIR-@:${pkglogdir}:' \
+ -e 's:@-SHIRELOGDIR-@:${shirelogdir}:' \
+ -e 's:@-VARRUNDIR-@:${varrundir}:'
cmp -s ${FILE} ${FILE}.tmp || mv ${FILE}.tmp ${FILE}
rm -f ${FILE}.tmp
apache2.config: ${srcdir}/apache2.config.in Makefile ${top_builddir}/config.status
$(MAKE) do-build-file FILE=$@
-shar.logger: ${srcdir}/shar.logger.in Makefile ${top_builddir}/config.status
+apache22.config: ${srcdir}/apache22.config.in Makefile ${top_builddir}/config.status
+ $(MAKE) do-build-file FILE=$@
+
+shibd: ${srcdir}/shibd.in Makefile ${top_builddir}/config.status
$(MAKE) do-build-file FILE=$@
-shire.logger: ${srcdir}/shire.logger.in Makefile ${top_builddir}/config.status
+shibd.logger: ${srcdir}/shibd.logger.in Makefile ${top_builddir}/config.status
+ $(MAKE) do-build-file FILE=$@
+
+native.logger: ${srcdir}/native.logger.in Makefile ${top_builddir}/config.status
$(MAKE) do-build-file FILE=$@
shibboleth.xml: ${srcdir}/shibboleth.xml.in Makefile ${top_builddir}/config.status
$(MAKE) do-build-file FILE=$@
-all-data-local: $(CONFIGFILES)
+resolver-simple.xml: ${srcdir}/resolver-simple.xml.in Makefile ${top_builddir}/config.status
+ $(MAKE) do-build-file FILE=$@
+
+example-metadata.xml: ${srcdir}/example-metadata.xml.in Makefile ${top_builddir}/config.status
+ $(MAKE) do-build-file FILE=$@
+
+all-data-local: $(BUILTCONFIGFILES)
install-data-local: all-data-local
- $(mkinstalldirs) $(DESTDIR)$(logdir)
+ $(mkinstalldirs) $(DESTDIR)$(pkglogdir)
+ $(mkinstalldirs) $(DESTDIR)$(shirelogdir)
+ $(mkinstalldirs) $(DESTDIR)$(varrundir)
+ $(mkinstalldirs) $(DESTDIR)$(pkgxmldir)
$(mkinstalldirs) $(DESTDIR)$(prefix)/data
$(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)
- for f in $(CONFIGFILES); do \
+ for f in $(BUILTCONFIGFILES); do \
if test ! -f $(DESTDIR)${pkgsysconfdir}/$$f; then \
$(INSTALL_DATA) $$f $(DESTDIR)${pkgsysconfdir}; \
fi; \
$(INSTALL_DATA) $$f $(DESTDIR)${pkgsysconfdir}/$$f.dist; \
done
+ for f in $(CONFIGFILES); do \
+ if test ! -f $(DESTDIR)${pkgsysconfdir}/$$f; then \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)${pkgsysconfdir}; \
+ fi; \
+ $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)${pkgsysconfdir}/$$f.dist; \
+ done
CLEANFILES = \
apache.config \
apache2.config \
- shar.logger \
- shire.logger \
- shibboleth.xml
+ apache22.config \
+ shibd \
+ shibd.logger \
+ native.logger \
+ shibboleth.xml \
+ resolver-simple.xml \
+ example-metadata.xml
EXTRA_DIST = .cvsignore \
shibboleth.xml.in \
- shire.logger.in \
- shar.logger.in \
+ native.logger.in \
+ shibd.logger.in \
apache.config.in \
apache2.config.in \
- shibboleth.logger \
+ apache22.config.in \
+ shibd.in \
+ console.logger \
+ syslog.logger \
accessError.html \
rmError.html \
- shireError.html \
- AAP.xml \
- IQ-sites.xml \
- IQ-trust.xml \
- inqueue.pem \
- shar.key \
- shar.crt
+ sessionError.html \
+ metadataError.html \
+ sslError.html \
+ resolver-simple.xml.in \
+ example-metadata.xml.in \
+ sp-example.key \
+ sp-example.crt