X-Git-Url: http://www.project-moonshot.org/gitweb/?a=blobdiff_plain;f=configs%2FMakefile.am;h=fb6cd711216c024a1cddde6cb5c7d07f106e8d8f;hb=a341c44021ad5b77ed4d0e5e3241abf6f4854a81;hp=23d78982a3b644374288714bb786f6cb2a12939d;hpb=c94b90ee85995ea285b882022833b3c6d6f2b5ee;p=shibboleth%2Fsp.git diff --git a/configs/Makefile.am b/configs/Makefile.am index 23d7898..fb6cd71 100644 --- a/configs/Makefile.am +++ b/configs/Makefile.am @@ -2,38 +2,47 @@ AUTOMAKE_OPTIONS = foreign +pkglibdir = ${libdir}/@PACKAGE@ pkglogdir = ${localstatedir}/log/@PACKAGE@ +pkgdocdir = ${datadir}/doc/@PACKAGE@ shirelogdir = ${localstatedir}/log/httpd pkgxmldir = $(datadir)/xml/@PACKAGE@ -varrundir = $(localstatedir)/run +pkgrundir = $(localstatedir)/run/@PACKAGE@ pkgsysconfdir = $(sysconfdir)/@PACKAGE@ pkgsysconf_DATA = \ + shibd-redhat \ + shibd-debian \ + shibd-osx.plist \ 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. BUILTCONFIGFILES = \ - shibboleth.xml \ - httpd.logger \ + native.logger \ shibd.logger \ - AAP.xml \ - IQ-sites.xml \ - IQ-trust.xml + attribute-map.xml \ + attribute-policy.xml # While BUILTCONFIGFILES are processed, these are not; so we should pull # them from SRCDIR. CONFIGFILES = \ - shibboleth.logger \ + shibboleth2.xml \ + example-metadata.xml \ + console.logger \ + syslog.logger \ accessError.html \ - rmError.html \ sessionError.html \ metadataError.html \ - example.key \ - example.crt + bindingTemplate.html \ + localLogout.html \ + globalLogout.html \ + sslError.html \ + sp-example.key \ + sp-example.crt # # Some of these need building @@ -41,13 +50,16 @@ CONFIGFILES = \ do-build-file: rm -f ${FILE}.tmp sed < ${srcdir}/${FILE}.in > ${FILE}.tmp \ - -e 's:@-PREFIX-@:${prefix}:' \ - -e 's:@-LIBEXECDIR-@:${libexecdir}:' \ - -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:' \ - -e 's:@-PKGXMLDIR-@:${pkgxmldir}:' \ - -e 's:@-PKGLOGDIR-@:${pkglogdir}:' \ - -e 's:@-SHIRELOGDIR-@:${shirelogdir}:' \ - -e 's:@-VARRUNDIR-@:${varrundir}:' + -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' cmp -s ${FILE} ${FILE}.tmp || mv ${FILE}.tmp ${FILE} rm -f ${FILE}.tmp @@ -57,32 +69,38 @@ apache.config: ${srcdir}/apache.config.in Makefile ${top_builddir}/config.status apache2.config: ${srcdir}/apache2.config.in Makefile ${top_builddir}/config.status $(MAKE) do-build-file FILE=$@ -shibd.logger: ${srcdir}/shibd.logger.in Makefile ${top_builddir}/config.status +apache22.config: ${srcdir}/apache22.config.in Makefile ${top_builddir}/config.status $(MAKE) do-build-file FILE=$@ -httpd.logger: ${srcdir}/httpd.logger.in Makefile ${top_builddir}/config.status +shibd-redhat: ${srcdir}/shibd-redhat.in Makefile ${top_builddir}/config.status $(MAKE) do-build-file FILE=$@ -shibboleth.xml: ${srcdir}/shibboleth.xml.in Makefile ${top_builddir}/config.status +shibd-debian: ${srcdir}/shibd-debian.in Makefile ${top_builddir}/config.status $(MAKE) do-build-file FILE=$@ -AAP.xml: ${srcdir}/AAP.xml.in Makefile ${top_builddir}/config.status +shibd-osx.plist: ${srcdir}/shibd-osx.plist.in Makefile ${top_builddir}/config.status $(MAKE) do-build-file FILE=$@ -IQ-sites.xml: ${srcdir}/IQ-sites.xml.in Makefile ${top_builddir}/config.status +shibd.logger: ${srcdir}/shibd.logger.in Makefile ${top_builddir}/config.status $(MAKE) do-build-file FILE=$@ -IQ-trust.xml: ${srcdir}/IQ-trust.xml.in Makefile ${top_builddir}/config.status +native.logger: ${srcdir}/native.logger.in Makefile ${top_builddir}/config.status + $(MAKE) do-build-file FILE=$@ + +attribute-map.xml: ${srcdir}/attribute-map.xml.in Makefile ${top_builddir}/config.status + $(MAKE) do-build-file FILE=$@ + +attribute-policy.xml: ${srcdir}/attribute-policy.xml.in Makefile ${top_builddir}/config.status $(MAKE) do-build-file FILE=$@ all-data-local: $(BUILTCONFIGFILES) install-data-local: all-data-local $(mkinstalldirs) $(DESTDIR)$(pkglogdir) + $(mkinstalldirs) $(DESTDIR)$(pkgdocdir) $(mkinstalldirs) $(DESTDIR)$(shirelogdir) - $(mkinstalldirs) $(DESTDIR)$(varrundir) + $(mkinstalldirs) $(DESTDIR)$(pkgrundir) $(mkinstalldirs) $(DESTDIR)$(pkgxmldir) - $(mkinstalldirs) $(DESTDIR)$(prefix)/data $(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir) for f in $(BUILTCONFIGFILES); do \ if test ! -f $(DESTDIR)${pkgsysconfdir}/$$f; then \ @@ -100,27 +118,24 @@ install-data-local: all-data-local CLEANFILES = \ apache.config \ apache2.config \ + apache22.config \ + shibd-redhat \ + shibd-debian \ + shibd-osx.plist \ shibd.logger \ - httpd.logger \ - shibboleth.xml \ - AAP.xml \ - IQ-sites.xml \ - IQ-trust.xml - -EXTRA_DIST = .cvsignore \ - shibboleth.xml.in \ - httpd.logger.in \ + native.logger \ + attribute-map.xml \ + attribute-policy.xml + +EXTRA_DIST = \ + attribute-map.xml.in \ + attribute-policy.xml.in \ + native.logger.in \ shibd.logger.in \ apache.config.in \ apache2.config.in \ - shibboleth.logger \ - accessError.html \ - rmError.html \ - sessionError.html \ - metadataError.html \ - AAP.xml.in \ - IQ-sites.xml.in \ - IQ-trust.xml.in \ - inqueue.pem \ - example.key \ - example.crt + apache22.config.in \ + shibd-redhat.in \ + shibd-debian.in \ + shibd-osx.plist.in \ + $(CONFIGFILES)