diff options
Diffstat (limited to 'shotwell.am')
-rw-r--r-- | shotwell.am | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/shotwell.am b/shotwell.am index dcade97..1422009 100644 --- a/shotwell.am +++ b/shotwell.am @@ -20,6 +20,23 @@ shotwell_VALAFLAGS = $(COMMON_VALAFLAGS) \ $(UNITY_VALAFLAGS) \ $(COMMON_VALAFLAGS_POST) +dist_noinst_DATA += src/org.gnome.Shotwell.gresource.xml + +nodist_shotwell_SOURCES = \ + src/resource.c +MOSTLYCLEANFILES += src/resource.c + +shotwell_resource_deps = $(shell $(GLIB_COMPILE_RESOURCES) \ + --sourcedir=$(abs_top_srcdir)/icons \ + --sourcedir=$(abs_top_srcdir)/ui \ + --generate-dependencies $(abs_top_srcdir)/src/org.gnome.Shotwell.gresource.xml) + +src/resource.c: src/org.gnome.Shotwell.gresource.xml $(shotwell_resource_deps) + $(AM_V_GEN)$(GLIB_COMPILE_RESOURCES) --target=$@ \ + --sourcedir=$(abs_top_srcdir)/icons \ + --sourcedir=$(abs_top_srcdir)/ui \ + --generate $< + shotwell_SOURCES = \ src/unit/Unit.vala \ src/util/Util.vala \ |