aboutsummaryrefslogtreecommitdiff
path: root/data/Makefile.am
diff options
context:
space:
mode:
authorMartin Pitt <martin.pitt@canonical.com>2009-02-19 16:11:40 +0100
committerMartin Pitt <martin.pitt@canonical.com>2009-02-19 16:11:40 +0100
commitfac33da76420b06115bda41e8dd6afa0fc08bd0d (patch)
tree3a823ee6f391042873fc8aefce9e6ed7514a0807 /data/Makefile.am
parent19665b4439136efaf34f410b453f06da27617dd8 (diff)
parent7554f5ef0dee14550c69beb4a372e50148a22fd6 (diff)
downloadlibayatana-indicator-fac33da76420b06115bda41e8dd6afa0fc08bd0d.tar.gz
libayatana-indicator-fac33da76420b06115bda41e8dd6afa0fc08bd0d.tar.bz2
libayatana-indicator-fac33da76420b06115bda41e8dd6afa0fc08bd0d.zip
new upstream release 0.1.1
Diffstat (limited to 'data/Makefile.am')
-rw-r--r--data/Makefile.am24
1 files changed, 24 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am
index 7fc4a6f..a03fadc 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -32,6 +32,27 @@ schema_DATA = \
@INTLTOOL_SCHEMAS_RULE@
+##############################
+# Icons
+##############################
+
+iconsdir = $(datadir)/icons/hicolor/scalable/apps
+
+icons_DATA = indicator-applet.svg
+
+gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/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
+
##############################
# Autojunk
@@ -44,6 +65,7 @@ CLEANFILES = \
*.bak
EXTRA_DIST = \
+ $(icons_DATA) \
GNOME_IndicatorApplet.server.in.in \
$(schema_in_files)
@@ -58,3 +80,5 @@ else
install-data-local:
endif
+
+