[libgda] Fix non-srcdir builds of tool resources



commit f94d0efc5a1838cd37b77d2067b64414eadd196b
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Sun Mar 26 12:08:23 2017 +0100

    Fix non-srcdir builds of tool resources
    
    The location of the resources is relative to the source directory.

 tools/Makefile.am |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tools/Makefile.am b/tools/Makefile.am
index a156418..2080d9b 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -135,7 +135,7 @@ RESOURCES=\
        resources/gda-browser-view.png
 
 tools.gresources.c: $(RESOURCES)
-       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=resources --generate-source 
$(srcdir)/tools.gresource.xml
+       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(top_srcdir)/tools/resources 
--generate-source $(top_srcdir)/tools/tools.gresource.xml
 
 # setenv() is in libiberty in mingw
 if PLATFORM_WIN32


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