AUTOMAKE_OPTIONS = foreign
pkgsysconfdir = $(sysconfdir)/@PACKAGE@
+pkgxmldir = $(datadir)/xml/@PACKAGE@
lib_LTLIBRARIES = libshib-target.la
shib-paths.h: ${srcdir}/shib-paths.h.in Makefile ${top_builddir}/config.status
rm -f $@.tmp
sed < ${srcdir}/$@.in > $@.tmp \
- -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:'
+ -e 's:@-PKGSYSCONFDIR-@:${pkgsysconfdir}:' \
+ -e 's:@-PKGXMLDIR-@:${pkgxmldir}:'
cmp -s $@ $@.tmp || mv $@.tmp $@
rm -f $@.tmp
/*
* SHIB_SCHEMAS defines the default location where the schemas will be installed.
*/
-#define SHIB_SCHEMAS "@-PKGSYSCONFDIR-@"
+#define SHIB_SCHEMAS "@-PKGXMLDIR-@"
/*
* SHIB_CONFIG defines the default location of the Shib Target Configuration File.
# ifndef SHIBTARGET_EXPORTS
# define SHIBTARGET_EXPORTS __declspec(dllimport)
# endif
-# define SHIB_SCHEMAS "/opt/shibboleth/etc/shibboleth"
+# define SHIB_SCHEMAS "/opt/shibboleth/share/xml/shibboleth"
# define SHIB_CONFIG "/opt/shibboleth/etc/shibboleth/shibboleth.xml"
#else
# include <shib-target/shib-paths.h>