[at-spi2-core] Use datarootdir for placing XML files so that the are in a shared directory



commit 2061c1c44e48edd8bd9fc5f92a9328501be4be9b
Author: Mark Doffman <mark doffman codethink co uk>
Date:   Thu Dec 17 15:07:28 2009 -0800

    Use datarootdir for placing XML files so that the are in a shared directory
    not under the name of this module but 'at-spi2'.

 configure.ac    |    2 +-
 xml/Makefile.am |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 5c49615..52a7ee6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -107,7 +107,7 @@ AC_ARG_VAR([DEFAULT_ATSPI_INTROSPECTION_PATH],
 	   [Set the default path for the install ofDBus introspection XML
 	    relative to the pkgdatadir.])
 if test -z "$DEFAULT_ATSPI_INTROSPECTION_PATH"; then
-	  DEFAULT_ATSPI_INTROSPECTION_PATH=dbus
+	  DEFAULT_ATSPI_INTROSPECTION_PATH=at-spi2/dbus
 fi
 
 AC_ARG_WITH(dbus-services,
diff --git a/xml/Makefile.am b/xml/Makefile.am
index 0c464a9..cf5abfb 100644
--- a/xml/Makefile.am
+++ b/xml/Makefile.am
@@ -40,5 +40,5 @@ $(INTROSPECT_FILES): introspection/%: %.xml ../tools/spec-to-introspect.xsl
 	@mkdir -p introspection
 	xsltproc ../tools/spec-to-introspect.xsl $< |sed -e 's xmlns:tp="http://telepathy\.freedesktop\.org/wiki/DbusSpec.extensions-v0"@@g' >$@
 
-introspectdir = $(pkgdatadir)/$(DEFAULT_ATSPI_INTROSPECTION_PATH)
+introspectdir = $(datarootdir)/$(DEFAULT_ATSPI_INTROSPECTION_PATH)
 dist_introspect_DATA = $(INTROSPECT_FILES)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]