[tali] Make build work when srcdir != builddir.



commit 359b47fc3dc04c13f422d10ccc7645bd026b1ba1
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date:   Thu Jun 2 18:54:38 2016 +0200

    Make build work when srcdir != builddir.

 src/Makefile.am |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 8563031..617a193 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -22,8 +22,8 @@ tali_SOURCES =       \
 
 BUILT_SOURCES = tali-resources.c
 
-tali-resources.c: $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies tali.gresource.xml)
-       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source 
tali.gresource.xml
+tali-resources.c: tali.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies 
tali.gresource.xml)
+       $(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) --target=$@ --sourcedir=$(srcdir) --generate-source $<
 
 tali_CPPFLAGS = \
        -I$(top_srcdir) \


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