summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFelix Riemann <[email protected]>2016-10-08 21:55:49 +0200
committerraveit65 <[email protected]>2018-08-13 19:08:02 +0200
commitab96aad5815771d5ad53942f2a90b66bcae20af9 (patch)
tree45e755c776650087065e565e5dd88653e9c02ce6 /src
parentadfe0c723d8bc01463781266c3ad587f32e8cd93 (diff)
downloadeom-ab96aad5815771d5ad53942f2a90b66bcae20af9.tar.bz2
eom-ab96aad5815771d5ad53942f2a90b66bcae20af9.tar.xz
Fix GResource dependency calculation for out-of-tree builds
origin commit: https://gitlab.gnome.org/GNOME/eog/commit/f8d3623
Diffstat (limited to 'src')
-rw-r--r--src/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index 57313f8..fd25093 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -180,7 +180,9 @@ BUILT_SOURCES = \
eom-resources.c \
$(MARSHAL_OUTPUT)
-eom-resources.c: eom.gresource.xml $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/data --generate-dependencies eom.gresource.xml)
+eom_resources_deps = $(shell $(GLIB_COMPILE_RESOURCES) --sourcedir=$(top_srcdir)/data --generate-dependencies $(top_srcdir)/src/eom.gresource.xml)
+
+eom-resources.c: $(top_srcdir)/src/eom.gresource.xml $(eom_resources_deps)
$(AM_V_GEN) $(GLIB_COMPILE_RESOURCES) "$<" --target=$@ \
--sourcedir=$(top_srcdir)/data --c-name _eom --generate-source