[grilo-plugins] filesystem: copy xml to libs dir.



commit 65300fb11429bd413fad7f8d3da67ca4cd8b69d4
Author: Mathieu Duponchelle <mathieu duponchelle opencreed com>
Date:   Sat May 16 01:05:44 2015 +0200

    filesystem: copy xml to libs dir.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=749458

 src/filesystem/Makefile.am |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/filesystem/Makefile.am b/src/filesystem/Makefile.am
index 0a0ffe4..261dea8 100644
--- a/src/filesystem/Makefile.am
+++ b/src/filesystem/Makefile.am
@@ -28,6 +28,14 @@ extdir                                       = $(GRL_PLUGINS_DIR)
 filesystemxmldir               = $(GRL_PLUGINS_DIR)
 filesystemxml_DATA     = $(FILESYSTEM_PLUGIN_ID).xml
 
+# This lets us test the plugin without installing it,
+# because grilo expects the .so and .xml files to be in
+# the same directory:
+copy-xml-to-libs-dir: libgrlfilesystem.la
+       cp -f $(srcdir)/$(filesystemxml_DATA) $(builddir)/.libs/
+
+all-local: copy-xml-to-libs-dir
+
 EXTRA_DIST += $(filesystemxml_DATA)
 
 -include $(top_srcdir)/git.mk


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