aboutsummaryrefslogtreecommitdiff
path: root/data/icons/Makefile.am
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-08-07 21:05:58 +0100
committerTed Gould <ted@canonical.com>2009-08-07 21:05:58 +0100
commitc4dbc5ba3f963a74952c35ef23249694c3593217 (patch)
tree7a9bbd072edfe7ca86c271d7463f4b7e512fb8a4 /data/icons/Makefile.am
parent61e75b021a7adc56b685b890ff195a7d03cdb720 (diff)
parentd109578b8a84e07678762906021234404e53a8bf (diff)
downloadayatana-indicator-session-c4dbc5ba3f963a74952c35ef23249694c3593217.tar.gz
ayatana-indicator-session-c4dbc5ba3f963a74952c35ef23249694c3593217.tar.bz2
ayatana-indicator-session-c4dbc5ba3f963a74952c35ef23249694c3593217.zip
Merging in status shuffle branch to package it.
Diffstat (limited to 'data/icons/Makefile.am')
-rw-r--r--data/icons/Makefile.am15
1 files changed, 15 insertions, 0 deletions
diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am
new file mode 100644
index 0000000..17dca13
--- /dev/null
+++ b/data/icons/Makefile.am
@@ -0,0 +1,15 @@
+SUBDIRS = scalable 16x16 22x22 24x24 32x32 48x48
+
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(pkgdatadir)/icons/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 (un)install, run this:"; \
+ echo "*** $(gtk_update_icon_cache)"; \
+ fi
+