summaryrefslogtreecommitdiff
path: root/shotwell.am
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-11-25 04:11:58 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-11-25 04:11:58 +0100
commitccff5442184e84d511c2bd25ed3da53e4336a272 (patch)
tree8402a0ba68852e0aec5841ed4519ccfe88352223 /shotwell.am
parenta1e1833f48ed618273dab9198b547148a89832a7 (diff)
parent4a3f1fdfe1eb3743564adcee35d5513224339260 (diff)
Merge tag 'upstream/0.25.1'
Upstream version 0.25.1
Diffstat (limited to 'shotwell.am')
-rw-r--r--shotwell.am17
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 \