From 35375697262e3ef1cc536ac2deb173bf5a1f9c06 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Wed, 4 Feb 2009 17:01:51 +0100 Subject: Adding in icons --- data/icons/Makefile.am | 15 +++++++++++++++ 1 file changed, 15 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..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 + -- cgit v1.2.3