summaryrefslogtreecommitdiff
path: root/accessx-status
diff options
context:
space:
mode:
authorPhilipp Kerling <k.philipp@gmail.com>2008-08-21 20:44:33 +0000
committerPhilipp Kerling <pkerling@src.gnome.org>2008-08-21 20:44:33 +0000
commit4b6db9506caa5f81a3457f3e971f19e5342de90b (patch)
treeb0b100713a61d9dcf884ba670fd35e8795d72863 /accessx-status
parent36bed4c064971f4198d772d7380d221df50ebc4b (diff)
Call gtk-update-icon-cache in uninstall-local
2008-08-21 Philipp Kerling <k.philipp@gmail.com> * stickynotes/pixmaps/Makefile.am: * cpufreq/pixmaps/Makefile.am: * accessx-status/pixmaps/Makefile.am: * modemlights/Makefile.am: * mini-commander/src/Makefile.am: * geyes/Makefile.am: Call gtk-update-icon-cache in uninstall-local * invest-applet/data/art/invest-applet.svg: * invest-applet/data/art/invest-applet.16.png: * invest-applet/data/art/invest-applet.22.png: * invest-applet/data/art/invest-applet.48.png: Copy invest neutral icons as application icons * invest-applet/data/art/Makefile.am: * invest-applet/data/Invest_Applet.server.in.in: Install icons theme-friendly Fixes bug #547647. svn path=/trunk/; revision=10926
Diffstat (limited to 'accessx-status')
-rw-r--r--accessx-status/pixmaps/Makefile.am12
1 files changed, 12 insertions, 0 deletions
diff --git a/accessx-status/pixmaps/Makefile.am b/accessx-status/pixmaps/Makefile.am
index a70c9b038..1496a14ab 100644
--- a/accessx-status/pixmaps/Makefile.am
+++ b/accessx-status/pixmaps/Makefile.am
@@ -40,5 +40,17 @@ accessx_status_pixmaps_DATA = \
ax-slowkeys-no.png \
ax-bouncekeys.png
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(iconsdir)/hicolor
+install-data-hook: update-icon-cache
+uninstall-hook: update-icon-cache
+update-icon-cache:
+ @-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 = \
$(accessx_status_pixmaps_DATA)