Fix tab.
[shibboleth/cpp-sp.git] / configs / Makefile.am
index ce067cc..b30b53f 100644 (file)
@@ -4,19 +4,22 @@ AUTOMAKE_OPTIONS = foreign
 
 pkglibdir = ${libdir}/@PACKAGE@
 pkglogdir = ${localstatedir}/log/@PACKAGE@
-pkgdocdir = ${datadir}/doc/@PACKAGE@
+pkgdocdir = $(datadir)/doc/@PACKAGE@-@PACKAGE_VERSION@
 shirelogdir = ${localstatedir}/log/httpd
 pkgxmldir = $(datadir)/xml/@PACKAGE@
 pkgrundir = $(localstatedir)/run/@PACKAGE@
 pkgsysconfdir = $(sysconfdir)/@PACKAGE@
 pkgsysconf_DATA = \
        shibd-redhat \
+       shibd-suse \
        shibd-debian \
        shibd-osx.plist \
        apache.config \
        apache2.config \
        apache22.config \
-       keygen.sh
+       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
@@ -29,16 +32,18 @@ BUILTCONFIGFILES = \
 # 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 \
+       example-metadata.xml \
        console.logger \
        syslog.logger \
        accessError.html \
        sessionError.html \
        metadataError.html \
        bindingTemplate.html \
+       discoveryTemplate.html \
+    postTemplate.html \
        localLogout.html \
        globalLogout.html \
        sslError.html
@@ -70,6 +75,9 @@ apache22.config: ${srcdir}/apache22.config.in Makefile ${top_builddir}/config.st
        $(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
@@ -105,16 +113,21 @@ install-data-local:       all-data-local
                fi; \
                $(INSTALL_DATA) $(srcdir)/$$f $(DESTDIR)${pkgsysconfdir}/$$f.dist; \
         done
-    if test -z $NOKEYGEN ; then
-        cd $(DESTDIR)$(pkgsysconfdir)
-        sh ./keygen.sh -b
-    fi
+
+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 \
        shibd-redhat \
+       shibd-suse \
        shibd-debian \
        shibd-osx.plist \
        shibd.logger \
@@ -127,7 +140,12 @@ EXTRA_DIST = \
        apache2.config.in \
        apache22.config.in \
        shibd-redhat.in \
+       shibd-suse.in \
        shibd-debian.in \
        shibd-osx.plist.in \
-    keygen.bat \
+       keygen.bat \
+       keygen.sh \
+       metagen.sh \
+       upgrade.xsl \
+       xsltproc.js \
        $(CONFIGFILES)