aboutsummaryrefslogtreecommitdiffstats
path: root/data/art
diff options
context:
space:
mode:
Diffstat (limited to 'data/art')
-rw-r--r--data/art/Makefile.am13
1 files changed, 12 insertions, 1 deletions
diff --git a/data/art/Makefile.am b/data/art/Makefile.am
index 24a6892a5..1e4af4dc8 100644
--- a/data/art/Makefile.am
+++ b/data/art/Makefile.am
@@ -6,8 +6,19 @@ art_DATA = \
epiphany-bookmarks.png
appicon_DATA = epiphany-bookmarks.png
-appicondir = $(datadir)/pixmaps
+appicondir = $(datadir)/icons/hicolor/48x48/apps
artdir = $(pkgdatadir)/art
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
+
+install-data-hook:
+ @-if test -z "$(DESTDIR)"; then \
+ echo "Updating GTK+ icon cache."; \
+ $(gtk_update_icon_cache); \
+ else \
+ echo "*** Icon cache not updated. After install, run this:"; \
+ echo "*** $(gtk_update_icon_cache)"; \
+ fi
+
EXTRA_DIST = $(appicon_DATA) $(art_DATA)