From 2df5d870e2b560f63da123f586fc5e5456d42906 Mon Sep 17 00:00:00 2001 From: Guido Günther Date: Sat, 2 Jul 2011 16:11:08 +0200 Subject: Add application icon --- data/icons/Makefile.am | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 data/icons/Makefile.am (limited to 'data/icons/Makefile.am') diff --git a/data/icons/Makefile.am b/data/icons/Makefile.am new file mode 100644 index 0000000..2f415b8 --- /dev/null +++ b/data/icons/Makefile.am @@ -0,0 +1,14 @@ +SUBDIRS = scalable 128x128 64x64 48x48 32x32 + +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 -- cgit v1.2.3