summaryrefslogtreecommitdiff
path: root/app-icons/Makefile.am
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-20 15:11:08 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2016-08-20 15:11:08 +0200
commitcb612a12b952e349b96d427645aaeb55d15f509a (patch)
treef29298f41d2a7ea2a976616243aca64c2c2547ce /app-icons/Makefile.am
parente7be93745e4a2ff3aa255227bef7b9d3b733aafa (diff)
parent143bfc9f801c84428074312d661f8e08803df83b (diff)
Merge tag 'upstream/0.23.5'
Upstream version 0.23.5
Diffstat (limited to 'app-icons/Makefile.am')
-rw-r--r--app-icons/Makefile.am41
1 files changed, 41 insertions, 0 deletions
diff --git a/app-icons/Makefile.am b/app-icons/Makefile.am
new file mode 100644
index 0000000..703705c
--- /dev/null
+++ b/app-icons/Makefile.am
@@ -0,0 +1,41 @@
+iconthemedir = $(datadir)/icons/hicolor
+
+appicon16dir = $(iconthemedir)/16x16/apps
+appicon22dir = $(iconthemedir)/22x22/apps
+appicon24dir = $(iconthemedir)/24x24/apps
+appicon32dir = $(iconthemedir)/32x32/apps
+appicon48dir = $(iconthemedir)/48x48/apps
+appicon256dir = $(iconthemedir)/256x256/apps
+appiconscalabledir = $(iconthemedir)/scalable/apps
+appiconsymbolicdir = $(iconthemedir)/symbolic/apps
+
+dist_appicon16_DATA = \
+ 16x16/apps/shotwell.png
+dist_appicon22_DATA = \
+ 22x22/apps/shotwell.png
+dist_appicon24_DATA = \
+ 24x24/apps/shotwell.png
+dist_appicon32_DATA = \
+ 32x32/apps/shotwell.png
+dist_appicon48_DATA = \
+ 48x48/apps/shotwell.png
+dist_appicon256_DATA = \
+ 256x256/apps/shotwell.png
+dist_appiconsymbolic_DATA = \
+ symbolic/apps/shotwell-symbolic.svg
+
+UPDATE_ICON_CACHE = gtk-update-icon-cache --ignore-theme-index --force
+
+install-data-hook: install-update-icon-cache
+uninstall-hook: uninstall-update-icon-cache
+
+install-update-icon-cache:
+ $(AM_V_at)$(POST_INSTALL)
+ test -n "$(DESTDIR)" || $(UPDATE_ICON_CACHE) "$(iconthemedir)"
+
+uninstall-update-icon-cache:
+ $(AM_V_at)$(POST_UNINSTALL)
+ test -n "$(DESTDIR)" || $(UPDATE_ICON_CACHE) "$(iconthemedir)"
+
+
+-include $(top_srcdir)/git.mk