[eog] Fix GResource dependency calculation for out-of-tree builds
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] Fix GResource dependency calculation for out-of-tree builds
- Date: Sat, 8 Oct 2016 20:56:04 +0000 (UTC)
commit f8d3623cac31362c5075374f131323fdf45e4b5c
Author: Felix Riemann <friemann gnome org>
Date: Sat Oct 8 21:55:49 2016 +0200
Fix GResource dependency calculation for out-of-tree builds
src/Makefile.am | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 4a3ac42..1d1ae98 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -180,7 +180,9 @@ BUILT_SOURCES = \
eog-resources.c \
$(MARSHAL_OUTPUT)
-eog-resources.c: eog.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/data
--generate-dependencies eog.gresource.xml)
+eog_resources_deps = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/data
--generate-dependencies $(top_srcdir)/src/eog.gresource.xml)
+
+eog-resources.c: $(top_srcdir)/src/eog.gresource.xml $(eog_resources_deps)
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) "$<" --target=$@ \
--sourcedir=$(top_srcdir)/data --c-name _eog --generate-source
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]