[Xfce4-commits] <eatmonkey:aria2-xml-rpc> Install eatmonkey.png inside hicolor and update gtk icon cache

Mike Massonnet noreply at xfce.org
Sun Jan 24 23:26:02 CET 2010


Updating branch refs/heads/aria2-xml-rpc
         to 6170a27942201da1d9775e1e6c5d6f944f181b13 (commit)
       from efb5477c3acbee52ffe6185275eb6ed3bd333bb7 (commit)

commit 6170a27942201da1d9775e1e6c5d6f944f181b13
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Sun Jan 24 17:55:03 2010 +0100

    Install eatmonkey.png inside hicolor and update gtk icon cache

 data/Makefile.am |   18 +++++++++++++++++-
 1 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/data/Makefile.am b/data/Makefile.am
index 3371536..df0aa23 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -1,2 +1,18 @@
 pixmapsdir = $(datadir)/pixmaps
-dist_pixmaps_DATA = eatmonkey.png eatmonkey-logo.png
+dist_pixmaps_DATA = eatmonkey-logo.png
+
+iconsdir = $(datadir)/icons/hicolor/32x32/apps
+dist_icons_DATA = eatmonkey.png
+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 "***" ; \
+		echo "*** Icon cache not updated. Remember to run:" ; \
+		echo "***" ; \
+		echo "***   $(gtk_update_icon_cache)" ; \
+		echo "***" ; \
+	fi
+



More information about the Xfce4-commits mailing list