[dconf] run gio-querymodule on 'make install'
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [dconf] run gio-querymodule on 'make install'
- Date: Fri, 21 May 2010 15:15:50 +0000 (UTC)
commit bfb077399e25d7f025529b49455eebcd6f182549
Author: Ryan Lortie <desrt desrt ca>
Date: Fri May 21 11:14:00 2010 -0400
run gio-querymodule on 'make install'
configure.ac | 2 ++
gsettings/Makefile.am | 3 +++
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 45b689f..a928b5e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,8 @@ AC_SUBST(dbusservicedir)
AC_ARG_WITH(dbus_system_service_dir, [ --with-dbus-system-service-dir=PATH choose directory for dbus system service files, [default=PREFIX/share/dbus-1/system-services]], dbussystemservicedir="$withval", dbussystemservicedir=${datadir}/dbus-1/system-services)
AC_SUBST(dbussystemservicedir)
+AC_PATH_PROG(gio_QUERYMODULES, gio-querymodules, no)
+
AC_OUTPUT([
gsettings/Makefile
service/Makefile
diff --git a/gsettings/Makefile.am b/gsettings/Makefile.am
index db97d91..eb71edb 100644
--- a/gsettings/Makefile.am
+++ b/gsettings/Makefile.am
@@ -12,3 +12,6 @@ libdconfsettings_la_SOURCES = \
install-data-hook:
rm -f $(giomodulesdir)/libdconfsettings.la
+ if test -z "$(DESTDIR)" -a "$(gio_QUERYMODULES)" != "no" ; then \
+ $(gio_QUERYMODULES) $(giomodulesdir) ; \
+ fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]