AUTOMAKE_OPTIONS = foreign
-pkglibdir = ${libdir}/@PACKAGE@
-pkglogdir = ${localstatedir}/log/@PACKAGE@
-pkgdocdir = ${datadir}/doc/@PACKAGE@
+pkglibdir = ${libdir}/@PACKAGE_NAME@
+pkglogdir = ${localstatedir}/log/@PACKAGE_NAME@
shirelogdir = ${localstatedir}/log/httpd
-pkgxmldir = $(datadir)/xml/@PACKAGE@
-pkgrundir = $(localstatedir)/run/@PACKAGE@
-pkgsysconfdir = $(sysconfdir)/@PACKAGE@
+pkgxmldir = $(datadir)/xml/@PACKAGE_NAME@
+pkgwebdir = $(datadir)/@PACKAGE_NAME@
+pkgrundir = $(localstatedir)/run/@PACKAGE_NAME@
+pkgcachedir = $(localstatedir)/cache/@PACKAGE_NAME@
+pkgsysconfdir = $(sysconfdir)/@PACKAGE_NAME@
pkgsysconf_DATA = \
shibd-redhat \
+ shibd-suse \
shibd-debian \
shibd-osx.plist \
apache.config \
apache2.config \
- apache22.config
+ apache22.config \
+ keygen.sh \
+ metagen.sh \
+ upgrade.xsl
# The config files are installed "special". Unlike the entries in
# pkgsysconf_DATA, these files are installed as "foo.dist" and only
# While BUILTCONFIGFILES are processed, these are not; so we should pull
# them from SRCDIR.
CONFIGFILES = \
- shibboleth2.xml \
- attribute-map.xml \
- attribute-policy.xml \
- example-metadata.xml \
+ shibboleth2.xml \
+ attribute-map.xml \
+ attribute-policy.xml \
+ protocols.xml \
+ security-policy.xml \
+ example-metadata.xml \
+ example-shibboleth2.xml \
console.logger \
syslog.logger \
accessError.html \
+ attrChecker.html \
sessionError.html \
metadataError.html \
bindingTemplate.html \
+ discoveryTemplate.html \
+ postTemplate.html \
localLogout.html \
globalLogout.html \
- sslError.html \
- sp-example.key \
- sp-example.crt
+ partialLogout.html \
+ sslError.html
#
# Some of these need building
do-build-file:
rm -f ${FILE}.tmp
sed < ${srcdir}/${FILE}.in > ${FILE}.tmp \
- -e 's:@-PREFIX-@:${prefix}:g' \
- -e 's:@-PKGLIBDIR-@:${pkglibdir}:g' \
- -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:g' \
- -e 's:@-PKGDOCDIR-@:${pkgdocdir}:g' \
- -e 's:@-PKGXMLDIR-@:${pkgxmldir}:g' \
- -e 's:@-XMLTOOLINGXMLDIR-@:${XMLTOOLINGXMLDIR}:g' \
- -e 's:@-OPENSAMLXMLDIR-@:${OPENSAMLXMLDIR}:g' \
- -e 's:@-PKGLOGDIR-@:${pkglogdir}:g' \
- -e 's:@-SHIRELOGDIR-@:${shirelogdir}:g' \
- -e 's:@-PKGRUNDIR-@:${pkgrundir}:g'
+ -e 's:@-PREFIX-@:${prefix}:g' \
+ -e 's:@-PKGLIBDIR-@:${pkglibdir}:g' \
+ -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:g' \
+ -e 's:@-PKGXMLDIR-@:${pkgxmldir}:g' \
+ -e 's:@-PKGWEBDIR-@:${pkgwebdir}:g' \
+ -e 's:@-PKGLOGDIR-@:${pkglogdir}:g' \
+ -e 's:@-SHIRELOGDIR-@:${shirelogdir}:g' \
+ -e 's:@-PKGRUNDIR-@:${pkgrundir}:g'
cmp -s ${FILE} ${FILE}.tmp || mv ${FILE}.tmp ${FILE}
rm -f ${FILE}.tmp
apache22.config: ${srcdir}/apache22.config.in Makefile ${top_builddir}/config.status
$(MAKE) do-build-file FILE=$@
+apache24.config: ${srcdir}/apache24.config.in Makefile ${top_builddir}/config.status
+ $(MAKE) do-build-file FILE=$@
+
shibd-redhat: ${srcdir}/shibd-redhat.in Makefile ${top_builddir}/config.status
$(MAKE) do-build-file FILE=$@
+shibd-suse: ${srcdir}/shibd-suse.in Makefile ${top_builddir}/config.status
+ $(MAKE) do-build-file FILE=$@
+
shibd-debian: ${srcdir}/shibd-debian.in Makefile ${top_builddir}/config.status
$(MAKE) do-build-file FILE=$@
install-data-local: all-data-local
$(mkinstalldirs) $(DESTDIR)$(pkglogdir)
- $(mkinstalldirs) $(DESTDIR)$(pkgdocdir)
$(mkinstalldirs) $(DESTDIR)$(shirelogdir)
$(mkinstalldirs) $(DESTDIR)$(pkgrundir)
+ $(mkinstalldirs) $(DESTDIR)$(pkgcachedir)
$(mkinstalldirs) $(DESTDIR)$(pkgxmldir)
$(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)
for f in $(BUILTCONFIGFILES); do \
$(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)${pkgsysconfdir}/$$f.dist; \
done
+install-data-hook:
+ chmod +x $(DESTDIR)$(pkgsysconfdir)/keygen.sh
+ chmod +x $(DESTDIR)$(pkgsysconfdir)/metagen.sh
+ if test -z "$(NOKEYGEN)"; then \
+ cd $(DESTDIR)$(pkgsysconfdir); \
+ sh ./keygen.sh -b ; \
+ fi
+
CLEANFILES = \
apache.config \
apache2.config \
apache22.config \
+ apache24.config \
shibd-redhat \
+ shibd-suse \
shibd-debian \
shibd-osx.plist \
shibd.logger \
apache.config.in \
apache2.config.in \
apache22.config.in \
+ apache24.config.in \
shibd-redhat.in \
+ shibd-suse.in \
shibd-debian.in \
shibd-osx.plist.in \
+ keygen.bat \
+ keygen.sh \
+ metagen.sh \
+ SetService32.bat \
+ SetService64.bat \
+ upgrade.xsl \
+ xsltproc.js \
$(CONFIGFILES)