Bug 555121 – Improved build-time handling of gio module-dir
authorMatthias Clasen <mclasen@redhat.com>
Fri, 10 Oct 2008 05:00:17 +0000 (05:00 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Fri, 10 Oct 2008 05:00:17 +0000 (05:00 +0000)
2008-10-10  Matthias Clasen  <mclasen@redhat.com>

        Bug 555121 – Improved build-time handling of gio module-dir

        * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
        * Makefile.am: Create the module dir.

svn path=/trunk/; revision=7586

gio/ChangeLog
gio/Makefile.am
gio/fam/Makefile.am

index a3e07e4..8e9d790 100644 (file)
@@ -1,5 +1,12 @@
 2008-10-10  Matthias Clasen  <mclasen@redhat.com>
 
+       Bug 555121 – Improved build-time handling of gio module-dir
+
+       * fam/Makefile.am: Use GIO_MODULE_DIR consistently.
+       * Makefile.am: Create the module dir.
+
+2008-10-10  Matthias Clasen  <mclasen@redhat.com>
+
        * gio/glocalfileinfo.c:
        * gio/tests/live-g-file.c:
        * gio/gsimpleasyncresult.c: Fix gcc warnings.
index 971bdeb..be6568f 100644 (file)
@@ -265,6 +265,7 @@ export_symbols = -export-symbols-regex '^g_.*'
 endif
 
 install-data-local: install-ms-lib install-def-file
+       $(mkinstalldirs) $(DESTDIR)$(GIO_MODULE_DIR)
 
 uninstall-local: uninstall-ms-lib uninstall-def-file
 
index b5ffefc..29ae072 100644 (file)
@@ -5,7 +5,7 @@ NULL =
 module_flags = -export_dynamic -avoid-version -module -no-undefined -export-symbols-regex '^g_io_module_(load|unload)'
 
 giomodule_LTLIBRARIES = libgiofam.la
-giomoduledir = $(libdir)/gio/modules
+giomoduledir = $(GIO_MODULE_DIR)
 
 libgiofam_la_SOURCES =                 \
        fam-helper.c                    \