Skip to content

Commit

Permalink
Fix GResource dependency calculation for out-of-tree builds
Browse files Browse the repository at this point in the history
  • Loading branch information
fxri authored and raveit65 committed Aug 13, 2018
1 parent adfe0c7 commit ab96aad
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ab96aad

Please sign in to comment.