AUTOMAKE_OPTIONS = foreign
-logdir=${localstatedir}/log/shibboleth
+pkglogdir=${localstatedir}/log/@PACKAGE@
+pkgxmldir = $(datadir)/xml/@PACKAGE@
pkgsysconfdir = $(sysconfdir)/@PACKAGE@
pkgsysconf_DATA = \
apache.config \
-e 's:@-PREFIX-@:${prefix}:' \
-e 's:@-LIBEXECDIR-@:${libexecdir}:' \
-e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:' \
- -e 's:@-LOGDIR-@:${logdir}:'
+ -e 's:@-PKGXMLDIR-@:${pkgxmldir}:' \
+ -e 's:@-PKGLOGDIR-@:${pkglogdir}:'
cmp -s ${FILE} ${FILE}.tmp || mv ${FILE}.tmp ${FILE}
rm -f ${FILE}.tmp
shibboleth.xml: ${srcdir}/shibboleth.xml.in Makefile ${top_builddir}/config.status
$(MAKE) do-build-file FILE=$@
+AAP.xml: ${srcdir}/AAP.xml.in Makefile ${top_builddir}/config.status
+ $(MAKE) do-build-file FILE=$@
+
+IQ-sites.xml: ${srcdir}/IQ-sites.xml.in Makefile ${top_builddir}/config.status
+ $(MAKE) do-build-file FILE=$@
+
+IQ-trust.xml: ${srcdir}/IQ-trust.xml.in Makefile ${top_builddir}/config.status
+ $(MAKE) do-build-file FILE=$@
+
all-data-local: $(CONFIGFILES)
install-data-local: all-data-local
- $(mkinstalldirs) $(DESTDIR)$(logdir)
+ $(mkinstalldirs) $(DESTDIR)$(pkglogdir)
+ $(mkinstalldirs) $(DESTDIR)$(pkgxmldir)
$(mkinstalldirs) $(DESTDIR)$(prefix)/data
$(mkinstalldirs) $(DESTDIR)$(pkgsysconfdir)
for f in $(CONFIGFILES); do \
apache2.config \
shar.logger \
shire.logger \
- shibboleth.xml
+ shibboleth.xml \
+ AAP.xml \
+ IQ-sites.xml \
+ IQ-trust.xml
EXTRA_DIST = .cvsignore \
shibboleth.xml.in \
accessError.html \
rmError.html \
shireError.html \
- AAP.xml \
- IQ-sites.xml \
- IQ-trust.xml \
+ AAP.xml.in \
+ IQ-sites.xml.in \
+ IQ-trust.xml.in \
inqueue.pem \
shar.key \
shar.crt
# This is the XML file that contains all the global, non-apache-specific
# configuration. Look at this file for most of your configuration parameters.
#
-ShibSchemaDir @-PKGSYSCONFDIR-@
+ShibSchemaDir @-PKGXMLDIR-@
ShibConfig @-PKGSYSCONFDIR-@/shibboleth.xml
#
# This is the XML file that contains all the global, non-apache-specific
# configuration. Look at this file for most of your configuration parameters.
#
-ShibSchemaDir @-PKGSYSCONFDIR-@
+ShibSchemaDir @-PKGXMLDIR-@
ShibConfig @-PKGSYSCONFDIR-@/shibboleth.xml
#
# define the appenders
log4j.appender.shar_log=org.apache.log4j.RollingFileAppender
-log4j.appender.shar_log.fileName=@-LOGDIR-@/shar.log
+log4j.appender.shar_log.fileName=@-PKGLOGDIR-@/shar.log
log4j.appender.shar_log.maxFileSize=1000000
log4j.appender.shar_log.maxBackupIndex=10
#log4j.appender.shar_log.layout=org.apache.log4j.BasicLayout
log4j.appender.shar_log.layout.ConversionPattern=%d{%Y-%m-%d %H:%M:%S} %p %c %x: %m%n
log4j.appender.tran_log=org.apache.log4j.RollingFileAppender
-log4j.appender.tran_log.fileName=@-LOGDIR-@/transaction.log
+log4j.appender.tran_log.fileName=@-PKGLOGDIR-@/transaction.log
log4j.appender.tran_log.maxFileSize=1000000
log4j.appender.tran_log.maxBackupIndex=20
log4j.appender.tran_log.layout=org.apache.log4j.PatternLayout
# define the appenders
log4j.appender.shire_log=org.apache.log4j.RollingFileAppender
-log4j.appender.shire_log.fileName=@-LOGDIR-@/shire.log
+log4j.appender.shire_log.fileName=@-PKGLOGDIR-@/shire.log
log4j.appender.shire_log.maxFileSize=1000000e
log4j.appender.shire_log.maxBackupIndex=10
#log4j.appender.shire_log.layout=org.apache.log4j.BasicLayout
AUTOMAKE_OPTIONS = foreign
-pkgsysconfdir = $(sysconfdir)/@PACKAGE@
-pkgsysconf_DATA = \
+pkgxmldir = $(datadir)/xml/@PACKAGE@
+pkgxml_DATA = \
credentials.xsd \
cs-sstc-schema-assertion-01.xsd \
cs-sstc-schema-protocol-01.xsd \
shibboleth-targetconfig-1.0.xsd \
sstc-saml-schema-assertion-2.0.xsd \
sstc-saml-schema-metadata-2.0.xsd
-
\ No newline at end of file
+
\ No newline at end of file